my site, www.PeteFletzer.com, was tracking downloads in GA and now suddenly it stopped. I haven’t touched the code. The code still reads:
import wixWindow from ‘wix-window’;
$w.onReady( function () {
//TODO: write your page related code here…
});
//wixLocation.to(https://docs.wixstatic.com/ugd/4ad342_d791553539734edebf97ed95f7a1e4d5.pdf
);
export function DownloadButtonPub_click(event) {
wixWindow.trackEvent(“CustomEvent”, {
event: “EPUB Download”
});
}
export function button1_click(event) {
wixWindow.trackEvent(“CustomEvent”, {
event: “PDF Download”
});
}