Paste the Analytics Code into Your Website

If You Have the Thrive Suite

If you have the Thrive Suite, the Thrive dashboard makes it very simple.

Go to the dashboard and scroll to Analytics and Scripts.

Click the Manage Scripts button.

This will show any existing scripts and you can choose to add a new one.

Click the Add New button.

You can paste the Google Analytics script into the next screen.

Paste the copied script into the Script panel and click in the Script Label panel to bring up the automatic label Google Analytics.

Leave the Placement as Before </head> and tick both Inserted In check boxes.

Click the Continue button.

This will then show that the Analytics script has been added.

Click the Back to Dashboard button.

If You Don’t Have the Thrive Suite

You can also insert the Google Analytics script with the free Ad Inserter plugin.

Install it as you would any plugin.

Search for Ad Inserter, then click Install Now, followed by Activate.

Then go to Plugins >> Ad Inserter >> Settings

Click Settings to bring up the Ad Inserter Settings page.

Click the gear icon to get into General Settings.

This will allow us to insert code into the header of all pages, i.e., between the <head> and </head> tags, which is where the Google Analytics code needs to go.

Click on the Header tab, then enable header code by clicking on the middle of the three small buttons (the one next to the php button) and finally paste the copied Google Analytics code into the panel.

Click the Save Settings button.

Third Party Plugins

If you want to install a third-party plugin to display Google Analytics data directly in the Admin area of your website, please refer to PART 2 of this training.

You'll find Part 2 at https://my.wealthyaffiliate.com/training/how-to-set-up-and-u...



Join the Discussion
Write something…
Recent messages
Newme202 Premium
I have done this so many times when just started, that I feel now that I can close my eyes and fill in this data. Still, your step by step explanation is always welcome. Thank you, Phil
Reply
phil1944 Premium
You're welcome, Simone.
Reply
muslimah Premium
Awesome tutorial, Phil.
Bookmarked.
Thank you.
Reply
phil1944 Premium
Glad you liked it, Muslimah.
Reply
west2000 Premium
This was very helpful and easy to follow with all the screenshots, Phil...I still need to update to GA4 and was wondering if the only thing needed to do that is replace the old code with the new one?

Going to bookmark this now for the future. Thank you :-)
Reply
phil1944 Premium
Glad to hear it, Susan. Yes, just get the new GA4 code and replace the old UA code.
Reply
west2000 Premium
Perfect...that's simple enough. Thanks, Phil. Have a super day! Hope you get some sunshine soon :-)
Reply
Triblu Premium
Excellent tutorials.
All have been "like'd" and tagged for sharing.
Thank YOU Phil!
Reply
phil1944 Premium
My pleasure, Trish. Thanks for the encouragement.
Reply
Pedrone Premium
Hello Phil,
thank you, for the very useful google analytics part 3 training,
also very easy to follow.

have a good Evening

Pietro
Reply
phil1944 Premium
Thanks, Pietro. I hope the 3 parts together give a complete picture.
Reply
Pedrone Premium
Yes, they do!
thank you

Pietro
Reply
Top