Answer the question
In order to leave comments, you need to log in
Why doesn't Google Analytics consider the goal of a click on a link?
I would be grateful if someone could suggest why google analytics does not consider a simple goal - click on the "Download price" link.
Answer the question
In order to leave comments, you need to log in
Try this code:
gtag('event', 'price_button', {'event_category' : 'submit'});
You actually use ”action” twice in your code, you need to remove it from curly braces.
And the goal is to reconfigure.
Well, or use the code from the comment above with the current target
https://developers.google.com/analytics/devguides/...
This is how it should work
onclick="yaCounter54983232.reachGoal('price'); gtag('event', 'click', {'event_category': 'submit', 'event_ action': 'price_button'}); return true;"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question