O
O
olegmorales132018-03-28 12:23:25
Google
olegmorales13, 2018-03-28 12:23:25

Why don't GA goals work on the site?

There is a website - why don't the goals work?
I connect the script:

<script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-M9VFW2K"></script>

Another one follows:
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-M9VFW2K');</script>

And the actual call:
ga('send', 'event', 'tel', 'tel3004730');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2018-03-28
@olegmorales13

<script async src="https://www.googletagmanager.com/gtm.js?id=GTM-M9VFW2K"></script>

<a  href="#" onclick="ga('send', 'event', 'tel', 'tel3004730'); return true;"></a>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question