\`\`\`javascript // WIX Customer Intelligence Agent (CIA) Tracking Script // CIA Base URL: https://cjscottiii.pythonanywhere.com const CIA_BASE_URL = "https://cjscottiii.pythonanywhere.com"; /** * Generates a simple unique ID (UUID v4-like) * @returns {string} A unique ID string */ function generateUUID() { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); return v.toString(16); }); } /** * Retrieves the customer ID from localStorage or creates a new one. * @returns {string} The unique customer ID. */ function getOrCreateCustomerId() { let customerId = localStorage.getItem('cia_customer_id'); if (!customerId) { customerId = generateUUID(); localStorage.setItem('cia_customer_id', customerId); console.log("CIA: New customer ID created:", customerId); } else { console.log("CIA: Existing customer ID retrieved:", customerId); } return customerId; } /** * Sends a page view tracking event to the CIA backend. * @param {string} customerId - The unique ID of the customer. */ function trackPageView(customerId) { const trackUrl = \`\${CIA_BASE_URL}/api/v1/track\`; const data = { customer_id: customerId, page_url: window.location.href, event_type: 'page_view' }; fetch(trackUrl, { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(data), }) .then(response => response.json()) .then(data => { console.log('CIA Tracking Success:', data); }) .catch((error) => { console.error('CIA Tracking Error:', error); }); } /** * Fetches a personalized recommendation from the CIA backend. * @param {string} customerId - The unique ID of the customer. */ function fetchRecommendation(customerId) { const recommendationUrl = \`\${CIA_BASE_URL}/api/v1/recommendation/\${customerId}\`; fetch(recommendationUrl) .then(response => response.json()) .then(data => { console.log('CIA Recommendation:', data.recommendation); // This is the key output. In a future step, you will use Wix Velo/Corvid // to capture this recommendation and display it to the user on the page. // For now, check your browser's console (F12) to confirm it is working. }) .catch((error) => { console.error('CIA Recommendation Error:', error); }); } // Main execution block (function() { const customerId = getOrCreateCustomerId(); trackPageView(customerId); fetchRecommendation(customerId); })(); \`\`\`
top of page
AS212° Bootcamp
AS212° Bootcamp

Sat, Jan 12

|

TGM Springbrook

AS212° Bootcamp

This Bootcamp is progressive with 3 levels which all come with a Certificate of Completion. Everyone starts out at Force Level 1, then progressing to Force Level 2 and then the Final stage, AS212°!

Registration is Closed
See other events

Time & Location

Jan 12, 2019, 8:00 AM – May 11, 2019, 8:45 AM

TGM Springbrook, 4101 Chesapeake Dr, Aurora, IL 60504, USA

About the event

This Bootcamp is progressive with 3 levels which all come with a Certificate of Completion. Everyone starts out at Force Level 1, then progressing to Force Level 2 and then the Final stage, AS212°! Runs EVERY SATURDAY from 1/12/19 thru 5/11/19.

  1. Force Level 1: 6-week program

  2. Force Level 2: 6-week program

  3. AS212°: 6-week program

FORCE LEVEL 1:

  1. Saturday, 1/12/2019, 8:00am-8:45am

Tickets

  • Full 18-week Program

    Force Level 1, Force Level 2, and AS212°

    $450.00

    Sale ended
  • Force Level 1

    Weeks 1-6

    $150.00

    Sale ended
  • Force Level 2

    Weeks 7-12

    $150.00

    Sale ended
  • AS212°

    Weeks 13-18

    $150.00

    Sale ended

Share this event

Follow us on Instagram

STAY CONNECTED:

  • Facebook Link
  • Instagram Link

These statements have not been evaluated by the Food and Drug Administration. These products are not intended to diagnose, treat, cure or prevent any disease.

*Our AI tool is designed to be privacy-focused. The information you enter during your search with RAPHA© is not stored or logged in any way. It is used solely to process your search query and provide relevant product suggestions or health tips. Once the search is complete, the information is immediately erased from the AI system.
 

Subscribe for Updates

Copyright© 2019 by ATHLETIC SPA NUTRTITION - ALL RIGHTS RESERVED UCC 1-308.

Site Proudly Designed by MINDYOURBIZ.COM

bottom of page