Site5 - Built For Designers & Developers MENU
Home  ›  Stats, Analytics, and Logs  ›  Google Analytics  ›  Logs: Add a Google Analytic tracking code to your WordPress website

Logs: Add a Google Analytic tracking code to your WordPress website

Comments Off on Logs: Add a Google Analytic tracking code to your WordPress website

With WordPress you can add the Google Analytics via two different methods. The first method is a using the official Analytics WordPress plugin and the second is manually inputting it into your template.



 

 Plugins

1) Login to the WordPress admin panel

2) Click the Plugins option from the left menu
ga_wpplugin_1

3) Click the Add New link in the left menu
ga_wpplugin_2

4) Type Google Analytics in the search box, then press search plugins
ga_wpplugin_3

5) Locate the Google Analytics plugin, then click install now
ga_wpplugin_4

6) Once the plugin has been installed, click activate plugin
ga_wpplugin_5

7) Click the Settings menu from the left-hand menu
ga_wpplugin_6

8) Click the Google Analytics sub menu
ga_wpplugin_7

9) Enter the Web Property ID. This can be located on your Google Analytics account next to your website name.
ga_wpplugin_8 ga_wpplugin_9

10) Click Save Changes
ga_wpplugin_10

That’s it! You should start to see tracking information for this website within 24 hours.



 

Theme Editor

In this article, we will show you how to add the needed code for Google Analytics using the built in Theme Editor in WordPress.

For this article, we will assume that you already have the tracking code and a copy of WordPress setup.

1) Login to the WordPress admin panel.

2) Click Appearances
ga_wptheme_1

3) Click the Editor option
ga_wptheme_2

4) Select the footer file from the right hand file list
ga_wptheme_3

5) Locate the </body> (normally at the bottom) in the code and place your tracking code right above it
ga_wptheme_4

6) Once the code has been added, click Update File
ga_wptheme_5

That’s it! You should start seeing tracking information on the Google Analytic website within 24 hours of making this change.


 

Still have a question? Or need help?
If you need technical support with your account, please email us or chat live with a representative.

Comments are closed.

Money Back Guarantees