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

    Hello, I have a problem. I am using Enfold with WPML Multilingual with 5 different domains. I have the possibility to integrate a Google Analytics code in the Google settings of the Enfold Theme. But I want to include the code from the Google Tag Manager. However, the code consists of two parts. Once for the head :

    <!– Google Tag Manager (noscript) –>
    <noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX&#8221;
    height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>

    and for the body:

    <!– Google Tag Manager (noscript) –>
    <noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX&#8221;
    height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>

    In the Enfold Google settings I can only enter the code for the head.

    Where can I enter the code for the body?

    I don’t want to solve it via header.php, because then I can only enter one domain.

    Do you have another solution?

    Translated with http://www.DeepL.com/Translator

    #1105814

    Hey 55577222,

    You can use this hook to add the code for the body:

    ava_after_body_opening_tag

    Hope it helps.

    Best regards,
    Nikko

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