Home Forums Brand Theme Google Tags

This topic contains 1 reply, has 2 voices, and was last updated by  brand 5 months ago.

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

    David Price
    Participant

    Will you be approving google tags for the brand theme?

    #1041

    brand
    Keymaster

    Hi David, you can add Google tag manager code adding a function in functions.php file (preferably in a child theme). The code should be like this:

    function add_google_tag_manager_code() { 
    ?>
    
    <!-- Insert Google Tag manager Code Here -->
    
    <?php
    
    }
    add_action( 'wp_head', 'add_google_tag_manager_code' );

    Anyway, I am going to add an option to add this kind of code using theme settings in one of the next updates.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.