Hi, I need to add Google AdWords remarketing code to our website ( <head></head> tags of every page of your website). Not sure where to add this. I have been using a plugin – Insert Headers and Footers but it doesn’t seem to work very well and keeps throwing errors.
Here’s the code:
<!– Global site tag (gtag.js) – Google Ads: 911882471 –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=AW-911882471″></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
gtag(‘config’, ‘AW-911882471’);
</script>
Do you have any suggestions? Thanks
Hey Kamakshi,
You can add it directly to the header.php file.
Best regards,
Jordan Shannon