I recently started using Corvid for Wix. I was trying to log some events for my analytic tools (FB pixel & Google Analytics) So I added some code to track the events:
export function firstButton_click(event) {
wixWindow.trackEvent('CustomEvent', {
"event": "sendToApp",
"eventCategory": "Enhanced Ecommerce - Wix Events",
"eventAction": "Click",
"eventLabel": "Primer Botón Landing Page",
"eventValue": 1,
});
console.log("Primer Botón Click");
}
This was working yesterday night. The website was loading correctly.
But today it’s not working. When I try to open my website (deewi . net) it does not load correctly.
If I open the console I see this:
bootstrap:89 Uncaught (in promise) TypeError: Cannot read property 'call' of undefined
at d (bootstrap:89)
(anonymous) @ main.b4235a81.chunk.min.js:1
comlink.ts:265 Uncaught (in promise) TypeError: Cannot read property 'PageWillUnmountHandler' of undefined
at f (siteMembers.d8d1ed33.chunk.min.js:1)
at main.b4235a81.chunk.min.js:1
at Array.forEach (<anonymous>)
at e.load (main.b4235a81.chunk.min.js:1)
at main.b4235a81.chunk.min.js:1
at www.deewi.net/:105
at Object.next (www.deewi.net/:105)
at c (www.deewi.net/:105)
Failed to load resource: the server responded with a status of 429 (TOO MANY REQUESTS)
I didn’t add any other code. I also tried to comment on the code I added. I even tried to restore a previous version of the website. But I still get the same error.
Does anyone have an idea?