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

Sarah Gough
Jul 16, 2022
In General Discussion
The two tone color leather jackets for men in usa is a great choice for men who want to look stylish and trendy at the same time. This kind of jacket can make your appearance more attractive. You can wear this jacket with jeans or pants. If you are looking for a casual outfit that makes you look dashing, then this jacket will surely fit the bill.