New Video - How to Use Wix Code with Marketing Tools to Create Custom Events

Hey Chris,
Was your implementation successful? Because I followed the tutorial
but I can’t see the events in Google Analytics. My configuration is the following:
I have a button on one of my pages with the id of downloadButton in my Comentarios page which as its name says is linked to a file download. I placed the following code on the page:
$w.onReady(function () {
//TODO: write your page related code here…
});
// to query data from the visitors browser
import wixWindow from ‘wix-window’;
export function downloadButton_click(event) {
wixWindow.trackEvent(“customEvent”, {
event: “Funnel”,
eventCategory: “e-book-downloads”,
eventAction: “Downloads”,
eventLabel: event.target.label,
}) ;
console.log(“Called Button Function”)
}
When I verify or test this button, no events are captured. Where have I gone wrong?