Created
January 23, 2023 23:57
-
-
Save LucasGorgal/b7db5f9c54c555aa5350108eab178848 to your computer and use it in GitHub Desktop.
Trackeamento todas as páginas (Analytics 4 + FB Pixel + GAds Tag)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Google tag (gtag.js) --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QCJZBJ31CG"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('config', 'G-QCJZBJ31CG'); | |
</script> | |
<!-- Meta Pixel Code --> | |
<script> | |
!function(f,b,e,v,n,t,s) | |
{if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)}; | |
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; | |
n.queue=[];t=b.createElement(e);t.async=!0; | |
t.src=v;s=b.getElementsByTagName(e)[0]; | |
s.parentNode.insertBefore(t,s)}(window, document,'script', | |
'https://connect.facebook.net/en_US/fbevents.js'); | |
fbq('init', '679288789386926'); | |
fbq('init', '3173377642878674'); | |
fbq('track', 'PageView'); | |
</script> | |
<noscript><img height="1" width="1" style="display:none" | |
src="https://www.facebook.com/tr?id=679288789386926&ev=PageView&noscript=1" | |
/></noscript> | |
<!-- End Meta Pixel Code --> | |
<!-- Google tag (gtag.js) --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-450476454"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('config', 'AW-450476454'); | |
</script> | |
<meta name="facebook-domain-verification" content="iuhnkzqp8sbfr0xv5i68qsagdj4r86" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment