E-commerce
October 30, 2026
Are you wondering how to measure the real impact of your advertising actions?
In a few steps, campaign tracking with Google Analytics provides reliable data for each channel, from click to conversion.
Without rigorous UTM tagging, your reports may incorrectly attribute organic or direct traffic, making budget optimization impossible.
So, how to track the effectiveness of your marketing campaigns? On the agenda:
Why is UTM tagging indispensable for measuring your campaigns?
How to structure UTM parameters hierarchically?
What are the specific settings for Google Ads and Bing campaigns?
How does Qstomy simplify tracking and optimizing your campaigns?
What checklist to verify before launching your UTM?
Let's go. By following these best practices, you will gain clear visibility on every euro invested and be able to adjust your strategy in real time.
Every piece of data collected will strengthen your marketing decisions.
Summary
Why is UTM tagging indispensable for measuring your campaigns?
UTM setup involves adding tags to the destination URL to identify the source, medium, campaign name, content, and search term. Google Analytics reads these parameters and categorizes them in traffic reports. Without them, the platform estimates the default channel: a click from a PPC ad may be counted as organic, referral, or even direct, distorting the ROI view. By tagging every link, you achieve full traceability from impression to conversion, and you can compare the actual cost of each channel with the sales generated. This granularity is the foundation of effective budget optimization.
This also simplifies automated reports.

Convert over 2,000 customers on average per month with Qstomy.
The world’s 1st Shopify AI dedicated to customer conversion



Empowering 200+ e-commerce merchants
Structure UTM parameters hierarchically
Google recommends five UTM parameters: utm_source, utm_medium, utm_campaign, utm_content and utm_term. By organizing them according to a logical hierarchy, you avoid redundancies and facilitate analysis. For example: utm_source=facebook, utm_medium=cpc, utm_campaign=summer_sale_2026, utm_content=ad_set_a, utm_term=shorts. Always maintain consistent naming conventions (all lowercase, no spaces) and document them in a shared spreadsheet with your marketing team. This approach ensures consistent reports, especially when filtering by source or ad content.
In practice, create an internal glossary that describes each allowed value for each parameter. Thus, when a new team member needs to create a URL, they can refer to it and avoid typos. Also remember to version this glossary every quarter to incorporate new campaigns or acquisition channels.
A clear nomenclature avoids unnecessary duplicates.
Use auto-tagging in Google Ads and Bing Ads
Google Ads and Bing Ads offer an auto-tagging feature that automatically creates the parameters utm_source, utm_medium and utm_campaign. Auto-tagging sets utm_medium=cpc and utm_source=google (ou bing), while injecting the campaign name into utm_campaign. This option eliminates the risk of human errors during manual URL creation. Enable it from your ad account settings and verify that every ad link retains the tags by testing in Google Analytics' real-time report. For campaigns that do not support auto-tagging, use Google's URL builder tool to generate the parameters manually.
It is recommended to associate auto-tagging with an internal naming convention so that the campaign name is immediately understandable (e.g.: spring_sale_2026). Thus, even outside Google Analytics, your sales teams can quickly identify the traffic source.
Synchronize auto-tagging with your CRM.
Integrate UTM parameters into Facebook and Instagram campaigns
Even though Facebook offers its own pixel, tracking via UTM remains essential to cross-reference data in Google Analytics. Use utm_medium=cpc (Facebook being considered a paid channel), utm_source=facebookthe campaign name in utm_campaignthe ad set in utm_content and leave utm_term vide. Exemple : https://exemple.com/produit?utm_source=facebook&utm_medium=cpc&utm_campaign=offre_ete&utm_content=ad_set_1. Integrate these URLs into the Facebook Ads Manager and validate the result with the report Google Analytics for marketing. This will allow you to differentiate traffic generated by each ad set.
For Instagram, the logic is identical; simply ensure the link is complete before shortening, as redirects can sometimes remove parameters if not configured correctly.
Keep UTM parameters before any URL shortener.
Configure UTM parameters for newsletters and email marketing
For newsletters, the parameter utm_medium must be exactly email (tout en minuscules). utm_source indicates the provider (e.g. mailchimp), utm_campaign carry the blast name and date, utm_content serve to distinguish A/B variants, and utm_term can identify the clicked button or link. Example: https://exemple.com/page d’atterrissage?utm_source=mailchimp&utm_medium=email&utm_campaign=promo_30juillet&utm_content=cta_bouton&utm_term=cta1. Most email services include a 'Google Analytics' option that automatically adds these parameters. Always check the rendering in the real-time report before sending the campaign.
Additionally, test link deliverability across different email clients (Gmail, Outlook, iOS) as some filters may truncate special characters, which would compromise tracking.
Test the link on all devices.
Tracking affiliate campaigns with UTM
As part of an affiliate partnership, choose utm_medium=affiliate and indicate the network in utm_source (ex. shareasale). The affiliate's name or ID is inserted into utm_campaign. If testing multiple banners, use utm_content to differentiate them. Example: https://exemple.com/produit?utm_source=shareasale&utm_medium=affiliate&utm_campaign=aff123&utm_content=banniere_a. By combining this data with sales reports in Google Analytics, you identify the most profitable affiliates and adjust commissions accordingly. Consult the guide Guide Google Analytics to set up the associated conversion goals.
It is wise to create a dedicated affiliate dashboard displaying CPA, generated revenue, and conversion rate to negotiate more favorable commission rates with your partners.
A dedicated dashboard facilitates affiliate tracking.
Consequences of non-existent UTM tracking
Without UTM, Google Analytics attributes traffic to default channels. A click from a Bing Ads campaign may be classified as 'bing/organic', even though it is paid advertising. Similarly, Facebook traffic often appears as 'facebook/referral', and email links are often recorded as 'direct' or fragmented depending on the mail server. Shortened URLs (Bitly, etc.) also lose their tags if added after shortening. This imprecision prevents ROI evaluation and leads to erroneous budget decisions.
In the long term, these errors can skew bidding strategies, increase acquisition costs, and obscure the true channels generating the best return, thus limiting your e-commerce growth.
These errors can cost significant budgets.
Verifying UTM reception in real-time
Use the 'Real-Time → Traffic Sources' report in Google Analytics. Open a new private browsing window, enter the tagged URL, and immediately verify the appearance of the source and the support parameters you defined. Some sites remove parameters during redirection; ensure the URL remains complete until the destination page. After loading, the parameters disappear from the address bar, but the session cookie retains the information. If traffic does not appear, recheck the tag spelling and the absence of special characters.
Replicate this test for each URL variant (desktop, mobile, AMP version) to ensure homogeneous data collection across all devices.
Repeat the test after each update.
Analyzing acquisition data in Google Analytics
Once visits are recorded, explore the 'Acquisition → All Traffic → Source/Medium' reports. Apply custom segments to filter by utm_campaign ou utm_content. Secondary dimensions like 'Landing Page' allow you to cross-reference traffic with conversion performance. If you need additional information (e.g., ad spend), import data via CSV files or use the native Google Ads integration described in How to set up e-commerce tracking on Google Ads. Multi-channel attribution reports help attribute conversions to initial touchpoints, even if the customer returns later via another channel.
Enrich your analysis by adding custom parameters (custom dimensions) to track, for example, the creative type used or the target customer segment.
Link this data to cart values.
Compare traffic and expenses via cost import
After collecting traffic data, you must compare it to actual expenses. Google Analytics offers a cost import option that accepts CSV files containing the date, the utm_source, the utm_medium, the utm_campaign and the amount spent. Many providers (Google Ads, Bing Ads) offer compatible automatic exports. By importing these costs, the 'Acquisition → Cost' report calculates cost per acquisition (CPA) and return on investment (ROI) for each campaign. This visibility allows you to reallocate budget toward the most profitable channels and adjust your bids.
Schedule a monthly update of this file to ensure continuous tracking and quickly identify discrepancies between forecasts and actual expenses.
Automate the import to avoid errors.
How Qstomy automates UTM tagging
Qstomy automatically integrates UTM tags into links generated from your Shopify dashboard. When creating a promotion, select the channel (email, social media, PPC campaigns) and the system adds parameters compliant with your naming convention. The data is then synchronized with Google Analytics and displayed in the Qstomy dashboard, where you can view conversion rates, average order value, and revenue generated by each campaign. Additionally, Qstomy offers adjustment recommendations based on performance history, allowing you to optimize your budget with just a few clicks. To learn more, read our article on the e-commerce CRM and customer support.
The tool also offers a 'batch' mode that generates UTM URLs in bulk for seasonal promotions, eliminating tedious manual manipulation.
Qstomy also provides a post-campaign audit that compares actual performance against set goals.
Final checklist before launching campaigns
Before publishing your links, review the following points:
Consistent naming : adhere to the same conventions (lowercase, no spaces).
Complete parameters : utm_source, utm_medium, utm_campaign required; utm_content and utm_term as needed.
Real-time testing : check for appearance in the Google Analytics Real-Time report.
Integration with tools : enable auto-tagging on Google Ads, Bing, and email platforms.
Cost import : prepare the CSV file or enable automatic synchronization.
By following this checklist, you ensure reliable and actionable data collection for each campaign. To deepen the configuration, consult our Traffic and Conversion Boosting Guide.
To go further: Training an e-commerce chatbot with Shopify: using the right data without creating bad responses - Qstomy, Customer support for flash sales: avoid frustrations during traffic spikes - Qstomy. Don't forget to save your URLs in your version control system so you can reuse or fix them quickly.
Archive each UTM URL in your version control.

Enzo
October 30, 2026


