Select Page

Forum

You need to log in to create posts and topics.

Add Google Analytics to WordPress

Hi,

I'm having trouble adding my GA tracking code to WordPress. Any assistance would be greatly appreciated.

Thanks,
James

Hi James,

 

The easiest way to add your Google Analytics tracking code is to use a plugin, such as the "Google Analytics" plugin.

 

You can also add the code manually by inserting the code snippet inside the <head> tag (before the ending </head>) of the "header.php" file of your theme (Appearance -> Editor -> Theme Header ("header.php")). Please click the "Update File" button after the code is inserted. Please note that it usually takes some time (24 hours max) for traffic data to show up in Google Analytics.