Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1484714

    Hi,
    I would like to install the Google Tag Manager. Therefore I have two instructions. (1. Insert this code as high up as possible in the <head> of the page. 2. Also, insert this code directly after the opening <body> tag:) I have read the other threads on this, but still don’t know my way around. If I understand it correctly, I add the code under Google Services > Google Measurement ID (Google Analytics Tracking Code). Does this apply to both paragraphs?
    Kind regards,
    ebenanders

    #1484720

    Hey ebenanders,

    Please try this in your child theme functions.php file:

    
    function ebenanders_add_gmt(){
    ?>
      YOUR CODE GOES HERE
    <?php
    }
    add_action('ava_after_body_opening_tag', 'ebenanders_add_gmt');

    Best regards,
    Rikard

    #1484726

    Hi Rikard,
    thank you for your help! Please provide further assistance: The Editor field does not exist on this website, how can that be?
    Kind regards,
    Karin

    #1484745

    Hi,

    If you have questions outside the current topic, then please open a new thread.

    Best regards,
    Rikard

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