Server-side tracking
Insights
Sources
Destinations
How-to guides
Configure SSH access for MagentoAttribution models and how to use themUTM parameter guide
A UTM parameter is a piece of code that you add to the end of a destination URL and is used to track the performance of your marketing activities that drive traffic to your online store. The UTM parameters help the Eyk attribution models identify the traffic source and campaign or email details.
UTM set-up can differ slightly per source. Below we first give the general set-up steps, followed by specific examples and ready to use snippets that you can in each of your channels.
Set-up steps per source
Meta
For Meta, go to each of your ads and click the “Edit” button. The following tracking template can be placed in the URL Parameters field under the Tracking settings of your ads:
eyk_source={{site_source_name}}&eyk_campaign={{campaign.id}}&eyk_content={{ad.id}}
Google Ads
For Google Ads, first go to Admin >> Account Settings >> Tracking , then place the following piece of code in the Tracking template field:
{lpurl}?eyk_source=google&eyk_campaign={campaignid}&eyk_content={creative}
Google Ads allows tracking parameters to be set at both the account, campaign and ad-group levels. An ad-group or campaign-level tracking template will override an account-level template. Ensure existing ad-group and campaign-level tracking templates are updated as needed.
Microsoft Ads
For Microsoft Ads, first go to Campaigns >> Settings and click on the tab Account level options. Then place the following piece of code in the Tracking template field:
{lpurl}?eyk_source=bing&eyk_campaign={CampaignId}&eyk_content={adid}
Microsoft Ads allows tracking parameters to be set at both the account and campaign levels. A campaign-level tracking template will override an account-level template. Ensure existing campaign-level tracking templates are updated as needed.
TikTok Ads
For TikTok the required Eyk tracking parameters will need to be added to every ad. Unfortunately TikTok does not provide a way to bulk edit ads.
To add the tracking parameters, for each ad go to Edit ad and navigate to the Destination section. On the Destination section enter the following tracking template in the URL field:
?eyk_source=tiktok&eyk_campaign=__CAMPAIGN_ID__&eyk_term=__AID__&eyk_id=__CID__
Pinterest Ads
For Pinterest, go to each ad and scroll down to the Destination URL. Then copy the following piece of code and append it to the Destination URL:
?eyk_source=pinterest&eyk_campaign={campaignid}&eyk_id={adid}
As an example, if your existing destination url is https://example.com/product then the new destination url with Eyk UTMs will be: https://example.com/product?eyk_source=pinterest&eyk_campaign={campaignid}&eyk_id={adid}
Note that this piece of code should be appended to the Destination URL. It should not replace it!
Klaviyo
For Klaviyo, head over to Settings >> Other and click on UTM tracking and use the button Add UTM parameter to add the following parameters:
UTM parameter | Campaign values | Flow value |
eyk_source | klaviyo | klaviyo |
eyk_campaign | Campaign name (campaign id) | Flow message name (flow message id) |
eyk_id | Campaign id | Flow id |
Next, set the toggle Automatically add UTM parameters to links to ON
>> Don’t forget to click Save
For existing campaigns, make sure the tracking parameters are included by going into Editing mode for each campaign. Scroll down to the Tracking section and ensure that Include tracking parameters is set to ON. Make sure Customize tracking parameters is turned OFF.
Do the same for existing flows: go to each of your Flows and enter Edit mode. For each Email and SMS action in the flow go to Settings and make sure Enable UTM tracking is set to ON.
Other sources
Identifying traffic using Eyk can easily be done by adding the following four UTM parameters to your ad links:
UTM parameter | Dynamic values | Static values (requires you to manually provide the value) |
eyk_source= | {source_name} | <<ENTER SOURCE NAME>> |
eyk_campaign= | {campaign_id} | <<ENTER CAMPAIGN ID>> |
eyk_term= | {adgroup_id} | <<ENTER ADGROUP ID>> |
eyk_content= | {ad_id} | <<ENTER AD ID>> |
If there is a good reason to no use these UTM parameters but instead use traditional UTM parameters (for instance when you already have a large set of campaigns running with these UTMs), it is also possible to use the following UTM parameters:
UTM parameter | Dynamic values | Static values (requires you to manually provide the value) |
utm_source= | {source_name} | <<ENTER SOURCE NAME>> |
utm_campaign= | {campaign_id} | <<ENTER CAMPAIGN ID>> |
utm_term= | {adgroup_id} | <<ENTER ADGROUP ID>> |
utm_content= | {ad_id} | <<ENTER AD ID>> |
← Previous
Next →