Hello,
Our website has a button that you click that takes you to a new page to fill out a form. We’re trying to create an event so we can track anyone who starts to fill out the form. I need to either track the button click or the pageview as an event. I’ve tried putting the code below in, it tracks the event but it no longer links to the screener page:
import wixWindow from ‘wix-window’;
export function screener_click(event) {
wixWindow.trackEvent(“CustomEvent”, {
“event”: “screener_click”,
“eventCategory”: “screener”,
“eventAction”: “click”,
} );
}
Any help would be greatly appreciated
Thank you