Home › Forums › Support › Pasting Analytics into Header/Footer This topic has 7 replies, 2 voices, and was last updated 8 years, 9 months ago by Tom. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts July 29, 2015 at 11:50 am #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 July 29, 2015 at 11:58 am #124640 TomLead Developer Lead Developer Do you have GP Hooks? You can insert the code into the wp_head or wp_footer hooks if you do π July 29, 2015 at 12:21 pm #124649 Salvatorie I do have Hooks in the full Add-On’s… I will check it out. Thanks Regards, Sal July 29, 2015 at 12:26 pm #124650 TomLead Developer Lead Developer Cool – let me know if you have any issues with it π July 29, 2015 at 12:30 pm #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 July 29, 2015 at 12:31 pm #124654 TomLead 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. July 29, 2015 at 12:34 pm #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 July 29, 2015 at 12:41 pm #124664 TomLead Developer Lead Developer Cool – it may take up to an hour to start tracking. Glad I could help! π Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In