[Resolved] Pasting Analytics into Header/Footer

Home Forums Support [Resolved] Pasting Analytics into Header/Footer

Home Forums Support Pasting Analytics into Header/Footer

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #124636
    Salvatorie

    Tom,

    Using Google Analytics in GP it was recommended that I used “Insert Header and Footer” but I see it’s not compatible with 4.2.3…any suggestions?

    Sal

    #124640
    Tom
    Lead Developer
    Lead Developer

    Do you have GP Hooks? You can insert the code into the wp_head or wp_footer hooks if you do πŸ™‚

    #124649
    Salvatorie

    I do have Hooks in the full Add-On’s… I will check it out.

    Thanks
    Regards,
    Sal

    #124650
    Tom
    Lead Developer
    Lead Developer

    Cool – let me know if you have any issues with it πŸ™‚

    #124652
    Salvatorie

    Tom,
    So I am assuming I go into Hooks, place the Tracking Code for Google Analytics into “After Header Content ???” and not execute the “PHP”?

    And this goes on every page I want analysis for….right? i.e. like side bar, Before or After?… Before Content etc??

    Confusing somewhat!

    Regards,
    Sal

    #124654
    Tom
    Lead Developer
    Lead Developer

    You want to place it into the wp_head hook – no need to Execute PHP.

    This will add it to every page on your website.

    #124661
    Salvatorie

    TOM,

    Got your email… So just place the Google tracking code script into wp_head only and that places it on all pages….

    Great… I will do that and I will let you know…

    Again, thanks for the fast feedback…. great to work with professionals!!

    Regards,

    Sal

    #124664
    Tom
    Lead Developer
    Lead Developer

    Cool – it may take up to an hour to start tracking.

    Glad I could help! πŸ™‚

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