Provides standard pageview tracking on all front end pages. Has a simple back end settings page where all you need to do is enter your Google Analytics Tracking ID (e.g.
UA-12345678-9
).
If more control/refinement is needed beyond inserting the same Google Analytics script on every front end page, then this plugin is not going to do what you need.
Uses Google's Universal Analytics (analytics.js) tracking method, as opposed to the classic ga.js method.
Basic Usage
- Once plugin is installed, visit Settings > Google Analytics
- Enter the Tracking ID (has the form UA-########-#) for your Google Analytics property and save.
- The tracking code will now be added to your site header on all front end pages.
Note
If your Tracking ID is not formatted in a way that this plugin recognizes as being a valid Google Analytics Tracking ID, then the value will not be saved. In this case, you will see a message on the settings page indicating the Tracking ID is invalid; and your tracking code will ultimately not be inserted on the front end as expected.
If you experience the above behavior, please double-check the Tracking ID you have entered, remove additional characters (such as spaces) that may have accidentally been copied/pasted along with the Tracking ID, and try saving the value again.
If you have confirmed your Tracking ID is valid and has been entered correctly but the plugin is still not saving it, please open up a support ticket so we can look into the issue further. Since Google could theoretically add new types of Tracking ID formats at any point, and since we don't have the ability to constantly stay on the lookout for this, support tickets are one of the few ways that we can make sure the plugin accepts all types of valid Tracking ID's over time.