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);
top of page


Join date: Jan 23, 2023


0 likes received
1 comment received
0 best answers

Hello, I am Elena Sarai. I'm from Australia. I would be happy to help you. I have 10-12 years of experience. "Welcome to our professional Business Assignment Help service! We understand the challenges and complexities that students face when it comes to completing business assignments. Whether you're struggling with analyzing case studies, developing strategic plans, or understanding complex financial concepts, our team of experienced business experts is here to provide you with the assistance you need.

Elena Sarai

More actions
bottom of page