Last active
August 6, 2020 07:58
-
-
Save hozza/9da4d2bc39aa2610df5cf3dcc0656da7 to your computer and use it in GitHub Desktop.
jQuery Google Analytics Button Event Tracking
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi,
Just a quick question if using gtag.js should the event be written like this:
gtag('event','click'{'event_category':'button', 'event_label':name});
instead of
ga('send', 'event', 'button', 'click', name);
Thanks,
Rob