Answer the question
In order to leave comments, you need to log in
What js code should i write when setting google goals?
Hello.
There is a code in the header of the site
<script async src="https://www.googletagmanager.com/gtag/></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '---------------');
</script>
Answer the question
In order to leave comments, you need to log in
I think the google documentation has the answer to your question
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question