UTM Link Builder
Free campaign URL builder for your store
Add UTM tags to any link so Google Analytics and Shopify show exactly which ad, email or post brought each visitor and sale. Pick a preset or fill in your own. Free, no signup.
Your campaign link
The link is built in your browser and nothing you enter is saved.
Add the UTM Link Builder to your site.
Free for blogs, newsletters, client sites and courses. Paste the code into an HTML or custom code block. Please keep the credit line under the tool.
<iframe id="am-utm-link-builder" src="https://www.ahmadmujtaba.com/tools/utm-link-builder?embed=1" title="UTM Link Builder" width="100%" height="950" style="border:0;max-width:100%;" loading="lazy"></iframe>
<p style="font-size:13px;margin:6px 0 0;">Free <a href="https://www.ahmadmujtaba.com/tools/utm-link-builder">UTM Link Builder</a> by <a href="https://www.ahmadmujtaba.com/">Ahmad Mujtaba</a></p>
<script>addEventListener("message",function(e){if(e.origin==="https://www.ahmadmujtaba.com"&&e.data&&e.data.amEmbed==="utm-link-builder"){var f=document.getElementById("am-utm-link-builder");if(f)f.style.height=e.data.height+"px";}});</script>The script line resizes the frame to fit the tool. If your site strips scripts, the tool still works at the fixed height and scrolls inside the frame.
How UTM tags work.
UTM parameters are tags added to the end of a link, like ?utm_source=instagram&utm_medium=social. When someone clicks the link, your analytics tool reads the tags and credits the visit, and any sale that follows, to that source and campaign.
Use source for where the traffic comes from (facebook, klaviyo, google), medium for the type of channel (paid_social, email, cpc), and campaign for the specific promotion (black_friday_2026). Term and content are optional, for keywords and for telling apart ads or links in the same campaign.
Be consistent. Analytics treats Facebook and facebook as two different sources, so the builder can force lowercase and replace spaces with underscores.
Common questions.
Which UTM parameters are required?
Source, medium and campaign are the three you should always set. Term and content are optional. Google Analytics needs at least utm_source to attribute a visit to a campaign.
Do UTM links affect SEO?
No, as long as you use them for links in ads, emails and social posts. Don't put UTM links in your own website's menus or internal links, because that resets the visitor's original source in analytics.
Where do I see UTM results in Shopify?
In Shopify Analytics, reports such as Sessions by referrer and Sales attributed to marketing show UTM sources and campaigns. In Google Analytics 4, look under Reports, then Acquisition, then Traffic acquisition, and switch the dimension to Session source / medium or Session campaign.
Do I need UTM tags on Facebook and Google ads?
Google Ads can tag clicks automatically with its own click ID when linked to Google Analytics. For Meta, TikTok, Pinterest, email and influencer links, UTM tags are the most reliable way to see results in your analytics.
Should UTM tags be lowercase?
Yes, it's best practice. Analytics tools are case-sensitive, so Email and email would show as two separate rows. Keep one naming convention and stick to it.
Want to know which campaigns are actually profitable? Work out your minimum return with the break-even ROAS calculator. Putting the link on packaging or a flyer? Turn it into a QR code. More free tools: product schema generator and all free tools.
Need help making your store more profitable?
I'm Ahmad Mujtaba, a Shopify Select Partner. My team builds and maintains Shopify stores, from speed and SEO to checkout and tracking.