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);
 

Forum Posts

United canada Inc
Nov 21, 2022
In General Discussion
Face masks are a great way to keep your skin looking vibrant and healthy. We’re happy to help you select a mask that does the job for you at a great price. ASTM level 3 masks protect your skin from pollution, polluted air and other harmful factors. The ultimate solution for better breathing and a healthy lifestyle. All the variety of masks is available at United Canada Inc. to Visit our website now!
United Canada Inc  content media
0
0
1