Answer the question
In order to leave comments, you need to log in
Goal not working in Google Analytics?
Good morning, guys, I'm already tired of tormenting myself with setting goals in analytics.
There is an LP
on it posted the code of Universal Analytics in the form:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXXX-X', 'auto');
ga('send', 'pageview');
setTimeout("ga('send','event','Engaged users','More than 15 seconds')",15000);
</script>
<a href="#popup-zakaz-form" class="popup-contact" data-bname="Букет «Крем-брюле»" data-bimg="images/buket/5.jpg" data-bprice="940" onClick="ga('send', 'event', 'buket', 'view', 'Букеты', 'Букет «Крем-брюле»');">
Answer the question
In order to leave comments, you need to log in
set up any triggered target, and then set up this one in the same way
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question