GA in Facebook Instant Article
-
Hi Team
I added following code in Instant Article facebook plusgin’s analytic embed code section to track page view in GA.<figure class=”op-tracker”>
<iframe>
<script async src=”https://www.googletagmanager.com/gtag/js?id=UA-61598488-1″></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());gtag(‘config’, ‘UA-61598488-1’);
</script></iframe>
</figure>but its showing Invalid HTML markup provided for custom analytics tracker code as an error
Could anyone please help us in resolving this ASAp?
TIA
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘GA in Facebook Instant Article’ is closed to new replies.