How to add google analytics code in amp plugin?
-
Hello
How to add google analytics code in amp plugin?
I see the “JSON Configuration”: But complicate me.
My code:
<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-112389422-4"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-112389422-4'); </script>Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to add google analytics code in amp plugin?’ is closed to new replies.