function registerListener() {
const METASITE_APP_DEF_ID = '22bef345-3c5b-4c18-b782-74d4085112ff';
const getXSRFTokenFromCookie = () => {
const match = new RegExp('XSRF-TOKEN=(.+?);').exec(document.cookie);
return match ? match[1] : '';
};
const eventNames = {
Purchase: 'Purchase',
Lead: 'Lead',
};
const eventNameToConversionActionCategory = {
[eventNames.Purchase]: 'PURCHASE',
[eventNames.Lead]: 'SUBMIT_LEAD_FORM',
};
const channelParams = {
price: 'price',
id: 'id',
currency: 'currency',
name: 'name',
category: 'category',
brand: 'brand',
variant: 'variant',
list: 'list_name',
quantity: 'quantity',
step: 'checkout_step',
option: 'checkout_option',
position: 'list_position',
coupon: 'coupon',
affiliation: 'affiliation',
revenue: 'value',
tax: 'tax',
sku: 'sku',
shipping: 'shipping',
};
const mapContents = ({ contents = [] }) =>
contents.map(({ currency, ...product }) =>
paramsMapper(product, channelParams),
);
const paramsMapper = (params, mapper) => {
const mappedParams = Object.keys(params);
if (mappedParams.length === 0) {
return params;
}
return mappedParams.reduce((mappedObject, currentKey) => {
const newKey = mapper[currentKey];
if (newKey && (params[currentKey] || params[currentKey] === 0)) {
mappedObject[newKey] = params[currentKey];
}
return mappedObject;
}, {});
};
const loadGtag = () => {
const gtagInitScript = document.createElement('script');
gtagInitScript.type = 'text/javascript';
gtagInitScript.innerHTML = `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date())
`;
document.head.appendChild(gtagInitScript);
const gtagScript = document.createElement('script');
gtagScript.type = 'text/javascript';
gtagScript.setAttribute('async', 'true');
gtagScript.setAttribute('src', 'https://www.googletagmanager.com/gtag/js');
document.head.appendChild(gtagScript);
};
const XSRFToken = getXSRFTokenFromCookie();
let conversionActions;
const reportEvent = (eventName, eventParams) => {
if (typeof gtag !== 'function') {
loadGtag();
}
const category = eventNameToConversionActionCategory[eventName];
const conversionAction = conversionActions.find(
(currentConversionAction) =>
currentConversionAction.category.category === category,
);
if (conversionAction) {
gtag('config', conversionAction.conversionId);
let conversionData = {
send_to: `${conversionAction.conversionId}/${conversionAction.conversionLabel}`,
};
switch (category) {
case 'PURCHASE': {
const { revenue, id, currency, coupon, ...params } = eventParams;
conversionData = {
...conversionData,
...paramsMapper({ revenue, id, currency, coupon }, channelParams),
transactionId: eventParams.id,
items: mapContents(params),
};
break;
}
default:
break;
}
gtag('event', 'conversion', conversionData);
}
};
// @ts-expect-error wixDevelopersAnalytics
window.wixDevelopersAnalytics.register(
'd6708a0e-5b2a-458e-8cfe-bdca240aa2ce',
(eventName, eventParams) => {
console.log('registering ga event reporter');
if (conversionActions) {
reportEvent(eventName, eventParams);
} else {
const headers = {
'Content-Type': 'application/json',
'X-XSRF-TOKEN': XSRFToken,
};
const getAppToken = window.wixEmbedsAPI?.getAppToken;
if (getAppToken) {
console.log('ASSIGNING AUTHORIZATION HEADER');
headers.authorization = getAppToken(METASITE_APP_DEF_ID);
}
const metaSiteId = window.wixEmbedsAPI?.getMetaSiteId();
console.log({ metaSiteId });
fetch(
`${window.location.origin}/_serverless/pa-google/v1/accounts/current-site/conversion-actions?metaSiteId=${metaSiteId}`,
{
method: 'GET',
headers,
},
)
.then((response) => response.json())
.then((data) => {
conversionActions = data.conversionActions;
reportEvent(eventName, eventParams);
});
}
},
);
}
console.log('ga event report embedded');
// @ts-expect-error wixDevelopersAnalytics
window.wixDevelopersAnalytics
? registerListener()
: window.addEventListener('wixDevelopersAnalyticsReady', registerListener);
top of page
Unleash Your Inner ComedySportz Player!
Master improv, build confidence, and let your talents shine!
Welcome to the CSz Las Vegas High School League – a dynamic journey where students from 9th to 12th grade unlock the world of improv, acting, music, and more!
Our program spans 12 electrifying weeks of top-notch training under the guidance of seasoned ComedySportz players who not only dazzle audiences weekly but have also dedicated years to mastering the art of ComedySportz. Having worked extensively within the CCSD school district, each instructor is certified, background-checked, and ardently passionate about nurturing both budding and experienced young performers.
Beyond the skills of improvisation, students will uncover lifelong treasures: leadership, quick thinking, positivity, teamwork, and a burst of self-confidence. And the cherry on top? Every student will shine in our High School League matches, with guaranteed performance opportunities in at least two shows open to friends and family.
Dive in and let your teen's comedic genius flourish!
GAIN SKILLS
Dive deep into a holistic curriculum that covers everything from improv and acting to music. Whether you're a budding actor or someone who just loves to bask in the joy of spontaneous comedy, our program offers a structured path to refine your craft and broaden your horizons.
PERSONAL GROWTH
Beyond the stage, students discover invaluable life skills. They'll develop leadership abilities, think on their feet, and face challenges with a creative and positive mindset. Each session is an opportunity for personal development, boosting confidence and fostering resilience in the face of the unexpected.
PERFORMANCE OPPORTUNITIES
Learning is pivotal, but showcasing that learning? It's exhilarating! With three High School League matches on the agenda, every participant is promised the thrill of the spotlight at least twice, allowing them to share their newfound comedic prowess with friends and family.
MARK YOUR CALENDARS!
Jump into a spectacular 12-week journey with the CSz Las Vegas High School League! Starting on September 30th and going through December 16th, from 10am to 12pm. Our High School League matches are slated for December's Fridays - the 1st, 8th, and 15th, with curtains rising at 7 pm.
Be ready to learn, laugh, and light up the stage!
GET REGISTERED AND JOIN TODAY!
Securing your spot in the CSz Las Vegas High School League is a breeze! For just $300, your teen gets 12 enriching sessions – that's just $25 per session! And for a limited time, if you're keen on doubling the fun, seize our limited-time "Bring-a-Friend" offer. Register two hilarious high schoolers for just $500! Simply apply the code "CSzBuddy" at checkout and let the comedy duo magic begin.
Hurry, the laughter and savings await!
Nothing to book right now. Check back soon.
bottom of page