Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1081824

    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&gt;
    <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

    #1081943

    Hey Kamakshi,

    You can add it directly to the header.php file.

    Best regards,
    Jordan Shannon

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.