Google analytics URL builder allows links to be tagged with custom variables to enable us to collect data around marketing campaigns.
Campaign variables will help track how successful promotions are at generating website traffic.
This guide provides step-by-step instructions to:
- create a URL to be tracked
- share URL
- analyse performance of the URL in Google Analytics.
How to create a custom campaign:
1. Add URL parameters
- Open the URL register and add all relevant information about the campaign (refer to naming convention below), and add new records accordingly.
S:\Web\Projects\Current projects\Analytics campaign builder\ga-campaign-url-builder.xlsx
2. Create campaign URL
- Go to Google's Campaign URL builder
- Add all relevant data (as recorded in step 1 above),
- Select 'Copy URL' button
3. Create and share bitly shortcut
- Go to Bitly short url builder (nationalmuseum account - password in kee)
- Select 'Create Bitlink' button
- Paste the URL (copied in step 2.3 above), in the long URL field to generate shirt URL
- 'Save' the bitlinks link
- Copy the new short url and paste it in the URL field in the register spreadsheet (point 1.1)
- Test url to ensure redirect works and campaign data is in url (eg: 'songlines?utm_source=facebook&utm_medium=timeout&utm_campaign=songlines-promotion&utm_content=tvc')
- Send the short URL to marketing team (for publishing to the corresponding medium)
- Save and close the spreadsheet.
How to access campaign analytics
- Login to Google Analytics
- Select the date range for the report
- From the left navigation pane select Acquisition, Campaigns, All campaigns
- Select the campaign name as recorded in the URL builder above.
Naming convention:
Consistency in naming conventions is the most important rule. It will eliminate confusion when reporting by utm parameters.
It is also important to avoid duplication in the terms and channels. For example, you would not want "facebook" to be used for the campaign and source parameter.
Each parameter should be distinct.
You can think of the UTM parameters as a set of identifiers that go from broad to granular in detail. Example:
- Campaign source: Name of source (eg: Facebook, Twitter, Campaign monitor)
- Campaign medium: Name of the medium within source (Fanpage, Twitter, Email)
- Campaign name: Use the same campaign name for all urls promoting a unique campaign, for a repetead campaign add a time reference (eg: Frewheeling May 2015, Freewheeling April 2017)
- Campaign terms and content can include comma-separated key words around that particular post/url.
Resources:
- URL dataset: S:\Web\Projects\Current projects\Analytics campaign builder\ga-campaign-url-builder.xlsx (For internal archive)
- URL builder: https://ga-dev-tools.appspot.com/campaign-url-builder
- URL short: https://app.bitly.com
- Google Tag Manager: https://www.google.com/analytics/tag-manager
- Google Analytics: https://analytics.google.com