Configure your default UTM codes for Campaigns, Broadcasts, and Automation emails.
Setting up your UTM code defaults
To set your default UTM codes:
- Click the Settings icon in the upper.
- Click Email Setup.
- Google Analytics.
You’ll see a new screen where you can set your UTM parameters for each kind of email you send.
Leave utm_source as Drip and utm_medium as email, so that you can track website visitors from all emails.
For utm_campaign and utm_content, use the drop-down to select the data point you'd like to track for each email type you send.
Default UTM codes can be automatically added to every new hyperlink you add to an email. To enable that option, turn on the setting to Automatically add my default UTM codes to every new hyperlink.
Setting up custom UTM codes
You can set your own custom UTM codes using Liquid.
Select Custom from either the utm_campaign or the utm_content drop-down.
Then, an additional text box will appear so that you can enter the custom UTM code value you want to be inserted dynamically via Liquid:
Here’s an example of a custom utm_campaign code that will dynamically insert the From Email associated with a particular Campaign, Broadcast, or Automation email:
Include the url_encode filter in your Liquid so to ensure cross-browser compatibility.
Setting up the hyperlink
If you've opted to have us automatically add your default UTM codes, no further action is required beyond adding a new hyperlink inside of an email.
If you need to customize your UTM params for a single hyperlink, enable the Customize UTM parameters setting and enter the Source, Medium, Campaign, and Content codes.
Note: If you did not enable your UTMs to be automatically included with each new hyperlink, you can add them to individual email by using the Customize UTM parameters setting.