Discussions

Google Tag Manager (GTM) integration for Eloqua Responsive Landing Pages

Jem Janik
Jem Janik Posts: 31 Blue Ribbon
edited Jun 9, 2020 11:59AM in Dream It

For companies than use Google Tag Manager with Google Analytics there are two snippets of code that need to be added onto a page.

A <script> tag that should according to Google's guidance be placed as high in the <head> of the page as possible

and

a <noscript> tag according to Google's guidance should be placed immediately after the opening <body>.

In the responsive editor there is the add additional javascript for the <script> tag and custom code block or cloud static content block for the <noscript> tag, but they don't get placed in the ideal location of the HTML nor does Google Tag Assistance recognize the tags added this way with the responsive editor.  It would be really wonderful to have an GTM app so that the codes code be added in the correct place on a landing page & function.

  1. Paste this code as high     in the <head> of the page as possible:
33 votes

Active · Last Updated

Comments

  • Hal_D
    Hal_D Posts: 6 Red Ribbon

    Has this been resolved?

  • User_DY2MX
    User_DY2MX Posts: 1 Red Ribbon

    Hi, any solution you can recommend to solve this? Thanks in advance for reaching out.

  • Cheli
    Cheli Posts: 29 Gold Medal

    Any update or workaround for this? After all this time, would be great to have a solution that works! Thanks!

  • There is a work-around, but it is not a correct solution.


    You would select custom code block. Usually, this custom code block should be placed at the top (or as high as possible) on the page.


    After that, you would add both <script>...</script> which is to be added in <head>...</head> part and

    <noscript>...</noscript> which is to be added in <body>...</body> together inside this custom code block. (I know it sounds strange, but that's what the work-around is)


    Utlimately, what you are doing here is adding both <script> and <noscript> tags within the <body> tags as the custom code will appear within the <body>...</body>


    This will work. I added Google Analytics code through GTM and checked the real time traffic. It works like a charm.


    Please note:

    1. This is a work-around and not the perfect solution.
    2. You will see an error in Google Tag Assistant. Ignore this error.