function registerListener() { window.wixDevelopersAnalytics.register( 'cf06bdf3-5bab-4f20-b165-97fb723dac6a', (eventName, eventParams, options) => { const XSRFToken = getXSRFTokenFromCookie() fetch( `${window.location.origin}/_serverless/analytics-reporter/facebook/event`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-XSRF-TOKEN': XSRFToken, }, body: JSON.stringify({ eventName, data: eventParams }), }, ); }, ); function getXSRFTokenFromCookie() { var match = document.cookie.match(new RegExp("XSRF-TOKEN=(.+?);")); return match ? match[1] : ""; } } window.wixDevelopersAnalytics ? registerListener() : window.addEventListener('wixDevelopersAnalyticsReady', registerListener); try{ __adroll.record_user({"adroll_segments": "25c14f39"}) } catch(err) {}
top of page

6 Comments


Warren Leon
Warren Leon
Apr 17, 2021

I’m so confused with this. How do I join tomorrow! I downloaded the app. I got a code that I don’t know where to put it in. This would not be considered user friendly. Already off to a bad start people.

Like
Charlotte Saulter
Charlotte Saulter
Apr 17, 2021
Replying to

My apologies. Tomorrow will go smoothly. I will be emailing the handouts shortly

Like
bottom of page