Where to insert google analytics code

This topic contains 6 replies, has 3 voices, and was last updated by  jeanette 4 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #528084

    jeanette
    Expired Member
    Post count: 3

    Hi.

    I have installed supreme theme, but I don´t know where to insert google analytics code.

    Thanks.

    #528150

    Kor
    Moderator
    Post count: 16516

    Hi Jeanette,

    Thanks for your post. You can refer to this section of the documentation that explains more about this https://wpgeodirectory.com/docs-v2/addons/google-analytics/

    #528203

    jeanette
    Expired Member
    Post count: 3
    This reply has been marked as private.
    #528227

    Alex Rollin
    Moderator
    Post count: 27815

    GDV2 doesn’t a scripts feature.We do however have a ‘add analytics code to the site’ button/option.

    If you want to add the code another way, then, if your a develper you can add it to your themes header file.

    Otherwise you can try a plugin like “Header Footer” scripts that has a place to paste code for adding into the header.

    #528552

    jeanette
    Expired Member
    Post count: 3

    In other wordpress domain installations, I have paste google analytics code inside header.php file and it works fine.

    But supreme child theme, have not header.php file.

    What´s the best file to insert GA code?

    Or I must use a header plugin?

    Thanks.

    #528603

    Alex Rollin
    Moderator
    Post count: 27815

    This is our plugin and will soon replace our current Google Analytics plugin.

    They both have the same features, basically.

    Once you open the settings for it there is a way to connect your site to your Google Web Analytics account.

    Once you do that, then there is a simple button to press that will automatically insert the correct Google Analytics tracking code on your site.

    https://wordpress.org/plugins/frontend-analytics/

    #528662

    jeanette
    Expired Member
    Post count: 3

    Done!

    Thanks.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount