Answer the question
In order to leave comments, you need to log in
How to set up a conversion in Universal Analytics?
Universal Analytics does not count the conversion on the website in any way. I screwed the code to the button, but still there is no information on the goals. Tried to set up both events and virtual pages.
Here is the button code:
<button type="submit" onClick="ga('send', 'pageview', '/virtual/podtverdit'), ga('send', 'event', 'Knopka', 'Podtverdit');"
class="btn btn_start wow flipInX" data-wow-delay="1.4s" data-wow-duration="0.2s" id="contact_submit"
data-complete-text="Отправлено!" data-error-text="Попробуйте снова">Отправить</button>
Answer the question
In order to leave comments, you need to log in
Between
ga('send', 'pageview', '/virtual/podtverdit')
and
ga('send', 'event', 'Knopka', 'Podtverdit')
There should be a semicolon, not a comma - then it should work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question