Skip to content
Menu
CPV Lab Pro Blog
  • Go to cpvlab.pro
  • MV Lab
  • FAQ
  • Contact
  • Demo
CPV Lab Pro Blog
Integrate UTM Codes and CPV One with Google Analytics

How to integrate UTM Codes and CPV One with Google Analytics 4

Posted on September 15, 2023September 15, 2023 by Radu D

As you know, GA4 was officially launched in July and since then a lot of businesses are trying to figure out how to get their data in the right format.

As you well know, running a successful campaign involves not only reaching your target audience but also accurately measuring its effectiveness.

Utilizing UTM (Urchin Tracking Module) codes and CPV One ad tracker, you can efficiently track campaign data, gain valuable insights, and optimize your strategies.

In this article, we will explore how you can seamlessly integrate UTM codes and CPV One to ensure your customers receive essential data in Google Analytics 4 (GA4).

Note: the same process applies for CPV Lab – self-hosted ad tracker; In this article we will use CPV One as reference.

What are UTM Codes?

Before we delve into the integration process, let’s briefly review UTM codes.

UTM Codes: UTM codes are short snippets of text appended to the end of a URL.

These codes contain key parameters such as source, medium, and campaign name, allowing you to track the origin of traffic and the success of your marketing efforts.

UTM Parameters

Let’s explain a little about the UTM Parameters.

Source:

The source refers to the digital origin from which the user arrived. It might be the name of a specific website, the advertiser responsible for placing the ad, or the title of your YouTube channel.

Include something in this parameter to indicate the previous location of the person before they came to your site.

E.g. utm_source=Google, utm_source=OctNewsletter

Medium:

The medium represents the channel through which you capture the users’ attention.

It could be a video, email, CPC ad, graphic, or organic tweet. This parameter helps identify the type of content that generated the click.

E.g. utm_medium=ppc, utm_medium=email

Campaign:

If you are conducting a targeted campaign for the outgoing content, you can specify that campaign using this parameter.

Whether it’s a code name, slogan, or the campaign’s actual name, use whatever you find easiest. Think of this as the “when” aspect of your UTM (Urchin Tracking Module).

E.g. utm_campaign=blackfriday22, utm_campaign=halloween22

Term:

When running Google Ads, the traffic may appear in Google Analytics 4 simply as “google/cpc,” which is not particularly informative.

It’s much more useful to determine the specific keyword or “term” for which you bid, leading to the user visiting your site.

This way, you can precisely understand how a Google Ad was triggered to direct people to your site.

E.g. utm_term=digital_analytics

Content:

You can track which content piece resulted in a click to your site.

E.g. utm_content=banana_bluebg, utm_content=bodylink

Source Platform:

The parameter identifies the traffic source, including Google Ads, Manual, Shopping Free Listings, Search Ads 360, and Display & Video 360.

E.g. utm_source_platform=GoogleAds

Creative Format:

This parameter helps identify the type of creative being used, such as display, video, native, or search. Like utm_content, it distinguishes between different creatives.

E.g. utm_creative_format: image_mountain

Marketing Tactic:

This parameter primarily indicates the targeting approach used, like remarketing or prospecting. It can also be utilized for additional data, such as bidding strategies and audience details.

E.g. utm_marketing_tactic=remarketing_180days

Here are more details and examples of UTM parameters:

What are UTM Parameters – And Why Should You Use Them?

Integrating UTM Codes and CPV One

To ensure your customers’ data is effectively tracked in GA4, follow these steps to integrate UTM codes and CPV One into your campaign URLs.

But first you need to understand the benefits of this method and the why behind it.

Why capture UTM params into the ad tracker?

If you are asking yourself why you need to capture the UTM parameters into your ad tracker, then the answer is simple: to get all the information in the tracker as well and then you can optimize your campaigns much better.

When you run campaigns on multiple traffic sources you want to be able to compare same metrics, and the best way is to find them in the same dashboard.

If you want to use Google Analytics 4 (GA4) for this, you will find it difficult for 2 reasons:

  • the way Google Analytics measures traffic (based on events) is way different than Google Ads reporting
  • The same applies to the reports about other traffic sources if you compare the reports with Meta Ads Manager for example.

So, the solution is simple: with a marketing tracker like CPV One you get real-time reports about all your sources, and you can compare the same metrics across traffic sources.

How to capture UTM parameters in CPV One?

In order to capture UTM parameters with CPV One ad tracker you need to follow these steps:

  1. You need to create a campaign in CPV One.
  2. Capture Parameters in Extra Tokens or Ad Tokens:

To begin, verify that you have configured Extra Tokens or Ad Tokens in your campaign.

These tokens serve as placeholders to capture specific parameters from the Campaign URL, excluding “c” and “key” parameters.

For example, suppose you want to capture the “medium” parameter in Extra Token 2 and the “source” parameter in Extra Token 5.

In that case, ensure the appropriate tokens are set up in your campaign configuration.

Extra tokens in CPV One (and CPV Lab) for UTM params
Extra tokens for UTM parameters

*In the Placeholder field, add an accepted token from the traffic source used by your campaign.

Incorporate Tokens in the Landing Page URL:

Once the necessary tokens are configured, it’s time to add them to your landing page URL. This step is crucial for passing the captured parameters to the landing page where the information can be utilized.

Construct the landing page URL in the following format:

https://domain.com/landing-page.php?utm_source={!token5!}&utm_medium={!token2!}

Breaking Down the Landing Page URL:

https://domain.com/landing-page.phpReplace this URL with the actual landing page URL you wish to use for your campaign.
utm_source={!token5!}This section represents the source of the campaign traffic.
By using the placeholder “{!token5!},” you instruct the system to populate this section with the value captured in Extra Token 5.
utm_medium={!token2!}This part of the URL denotes the medium through which the campaign traffic arrives. The “{!token2!}” placeholder will be replaced with the value recorded in Extra Token 2.

Tracking Additional Parameters:

To pass more parameters to your landing page, follow the same pattern as described above. Remember to have the corresponding tokens set up in your campaign configuration for each parameter you wish to track.

Conclusion

Integrating UTM codes and CPV One into your campaign URLs is a powerful strategy to gain valuable insights.

By capturing relevant parameters and passing them to your landing page through Extra Tokens or Ad Tokens, you enable seamless data integration with Google Analytics 4.

And if you want to understand which one is better for your business: Google Analytics 4 or an ad tracker like CPV One and CPV Lab, read this article and find the pros and cons.

With this powerful tracking setup, you can make data-driven decisions, optimize your campaigns, and achieve remarkable results. 

For more detailed instructions and insights about how to use parameters in the ad tracker, refer to the CPV One documentation provided in the link: 

https://doc.cpvlab.pro/passing-posting-data.html#_2-using-wildcard-tokens-in-the-lp-offer-urls.

Empower your campaigns with accurate data and let the combined force of UTM codes and CPV One elevate your marketing endeavors to new heights!


Radu Draghici - CTO @ CPV Lab and CPV One

Author: Radu Draghici

Radu is the CTO of CPV One ad tracker. He has 20+ years experience in software development and 10+ years experience in affiliate marketing. Combining these 2 fields, he started developing an ad tracking platform that helps marketers with multiple reports and relevant stats in order to optimize their campaigns.


Want to stay up-to-date on the fast-paced marketing industry? CPV One and CPV Lab marketing trackers offers a complete toolkit for tracking and analyzing all your marketing campaigns from one single place. And all starts with a Free 14 days Trial!
Cloud-hosted or Self-hosted ad tracker? your choice!

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Share on Social Media
twitter facebook linkedin email
◀VPN Shark For Your Affiliate Campaigns
Discover CPV One for Campaign Analytics▶

Leave a Reply Cancel reply

You must be logged in to post a comment.

Subscribe to our newsletter

Follow us on Social Media
Facebook Youtube Linkedin

Latest Posts

Discover CPV One - campaign analytics

Discover CPV One for Campaign Analytics

10:15 am 18 Sep 2023
Integrate UTM Codes and CPV One with Google Analytics

How to integrate UTM Codes and CPV One with Google Analytics 4

7:58 am 15 Sep 2023
How to test affiliate offers with SurfShark VPN

VPN Shark For Your Affiliate Campaigns

9:13 pm 29 Aug 2023
Easy tracking WordPress Pages with CPV Lab

Easy WordPress tracking with CPV Lab and default HTML editor

11:14 pm 13 Aug 2023
Custom tracking domains in affiliate marketing

Custom Tracking Domain in Affiliate Marketing

5:33 pm 08 Aug 2023
Adplexity - Native Ads - step by step tutorial

Adplexity Native Ads Tutorial

11:24 am 25 Jul 2023
Direct Affiliate Link vs landing page

Which is Better – a Direct Affiliate Link vs Landing Page?

10:23 am 19 Jul 2023
Affiliate Traffic Sources

Affiliate Traffic Sources: 7 Ways To Promote Affiliate Links In 2023

11:05 pm 15 Jul 2023
Add CPV Lab tracking code to WordPress

Easy Tracking for WordPress – Tutorial

10:34 am 11 Jul 2023
Advanced techniques for fast loading landing pages

Lightening Fast Landing Pages

8:08 am 02 Jul 2023
©2023 CPV Lab Pro Blog
Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage vendors Read more about these purposes
View preferences
{title} {title} {title}