Hi guys,
I hope your help,
I’m trying to send an event to Google analytics but nothing happens with the code that I embedded in the page,
this is a link of a tutorial https://support.wix.com/en/article/wix-code-tutorial-sending-tracking-and-analytics-events that I followed and from where I built the code.
import wixWindow from ‘wix-window’;
export function BotonComprarAlmPersonas_click(event) {
//Add your code for this event here:
wixWindow.trackEvent(“CustomEvent”, {
“event”: “Comprar almacenamiento personas”,
“eventCategory”: “almacenamiento personas”,
“eventAction”: “Comprar”,
“eventLabel”: $w(‘#dataset1’).getCurrentItem().title
} );
}
Thanks…