Newsletters – Google Analytics
It adds Google Analytics tracking code for you if you don’t already have it added to your site and it also allows you to track custom sources and campaigns in Google Analytics for all links inside your newsletters.
1. Make sure that you have the WordPress Newsletter plugin installed AND ACTIVATED.
2. Get the Google Analytics extension for free and then download it from your downloads management section in ZIP format.
3. Go to Plugins > Add New > Upload in your WordPress dashboard where you can browse to the
newsletters-ga.zip file and then click the “Install Now” button. Upon successful installation, you will be given the option to activate the plugin immediately by clicking the “Activate Plugin” link and skip the upcoming activation instructions.
1. Extract the ZIP archive named
newsletters-ga.zip in order to be presented with a single folder named
2. Upload the
newsletters-ga folder to the
wp-content/plugins/ directory of your WordPress installation, as seen in the example image below. Follow the upcoming activation instructions to activate the Newsletters-ga extension plugin.
Once you have installed the Google Analytics extension via FTP you need to activate it.
To activate it you need to go to the normal Plugins > Installed Plugins section via your admin sidebar. There you will see the extension as a plugin listed amongst other plugins, as in the screenshot below:
Once activated you will see it listed in the Newsletters > Extensions section (via the “Newsletters” menu item in the admin sidebar), as seen in this image below:
Google Analytics extension settings:
Newsletters > Extensions > Settings
1. Add Tracking Code
If you do not already have Google Analytics tracking code on your site, tick/check this to add it.
2. Google Analytics Account
Get a google analytics account from google.
Add your Google Analytics property account code in the format UA-XXXXXXX-XX. Obtain it from Google Analytics tracking code page.
By creating a newsletter you can setup a custom campaign per Newsletter.
Newsletter > Create Newsletter
1. Custom Campaign
Tick or untick this checkbox if you want to do a Google Analytics custom campaign for the newsletter.
2. UTM Source
This UTM source identify the newsletter that is sending traffic to your site.
3. UTM Medium
Set an advertising or marketing medium, it’s recommended that you set this to “email”.
4. UTM Campaign
Set an individual campaing name, slogan, promo code etc. for a product or service.
5. UTM Conent
Used to differentiate similar content, or links within the same ad. For example, if you have two call-to-action links within the same email message, you can use utm_content and set different values for each so you can tell which version is more effective.
After setting up a custom campaingn, links will now have the Google Analytics query arguments/values added to them, eg. http://newsletters.tribulant.co/subscribe/?utm_source=ganewsletter&utm_medium=email&utm_campaign=googleanalytics
As a result, someone clicks the link and goes to your site. The Google Analytics tracking code picks up the parameters in the URL and logs them to your Google Analytics automatically.
To read more about custom campaigns, please read this. https://support.google.com/analytics/answer/1033863?hl=en
View GA Reporting
After processing, the following campaign and traffic source dimensions and metrics will be available in reports.