I have applier event tracking to track PDF downloads on my website but it doesn't work.
Tried different options but still doesn't; work. I am adding the options I tried-
1. Put this code on the button - onclick="ga('send', 'event', 'PDF Downloads', 'Click', 'Widget Brochure')
In analytics, I have added-
Category- PDF Downloads, Action- Click, Label- Widget Brochure
2. Put this code on the button - onclick="ga('send', 'event', 'PDF Downloads', 'Click', 'Widget Brochure')
In analytics, I have added-
Category- PDF Downloads, Action- {{Click}}, Label- Widget Brochure
Can anyone help please?
[edited by: not2easy at 12:23 pm (utc) on Nov 26, 2021]
[edit reason] anonymized for privacy [/edit]