How to Use UTM Parameters to Track Shopify Sales from Social Media

You post on Instagram. You post on TikTok. Someone clicks a link and buys something. Shopify records the sale, but which platform actually sent that customer?

Nick Kosmos
Nick Kosmos

Sales Team Lead

11 min read
A focused digital marketer reviewing campaign analytics data at a clean bright desk, editorial photography

You post on Instagram. You post on TikTok. Someone clicks a link and buys something. Shopify records the sale, but which platform actually sent that customer?

Without UTM parameters, you have no idea. Shopify lumps most of it under "direct" or shows vague referral data that doesn't tell you which platform, let alone which post. UTM parameters solve this by tagging your links so Shopify can record exactly where each visitor came from before they bought.

This guide walks you through the setup, where to put the links, and how to read the data once traffic starts coming in.

TL;DR: UTM parameters are tags you add to your Shopify URLs before sharing them on social media. They tell Shopify exactly which platform, post type, and campaign sent each visitor. Build them free with Google's Campaign URL Builder, paste them in your bio links and stories, then check Shopify's Marketing Reports to see which social channels actually drive orders.

What UTM Parameters Are (the Short Version)

UTM parameters are short pieces of text you attach to the end of a URL. When someone clicks that URL, the extra text travels with them into your store. Shopify reads it and logs where the visit came from.

For social media tracking, three parameters do most of the work:

  • Source is the platform where the link lives (instagram, tiktok, pinterest)
  • Medium is the type of traffic (use organic for unpaid social posts)
  • Campaign is the specific post, product, or promotion (summer-tote-launch, candle-restock)

A tagged URL looks like this:

`` https://yourstore.com/products/tote-bag?utm_source=instagram&utm_medium=organic&utm_campaign=summer-tote-launch ``

That URL sends a visitor to your tote bag product page, and Shopify logs that they came from Instagram, via organic social, from the summer tote launch campaign.

For the full spec on each parameter, see Google's official UTM documentation.

Step-by-Step: Building Your UTM Links

The easiest way to build UTM links is Google's free Campaign URL Builder. You paste in your destination URL and fill in three fields. It outputs a ready-to-use tagged link.

Step 1: Enter your destination URL

Paste the full URL of the page you want to send people to. This could be a product page, a collection, or your homepage.

Step 2: Set the source

Use lowercase, no spaces. Match the platform name:

  • instagram
  • tiktok
  • pinterest
  • facebook

Step 3: Set the medium

For organic (unpaid) social posts, use organic. If you run paid ads, use cpc or paid-social to keep them separate.

Step 4: Set the campaign

Use something short and descriptive that you'll recognize later. Lowercase, hyphens instead of spaces:

  • summer-tote-launch
  • candle-restock-march
  • mother-day-promo

Step 5: Copy the generated URL

The tool outputs your full tagged URL. Copy it and use it wherever you drop a link for that post.

Example, a complete UTM link:

`` https://yourstore.com/products/soy-candle?utm_source=instagram&utm_medium=organic&utm_campaign=candle-restock-march ``

Where to Use UTM Links on Social Media

UTM parameters only work where you can place a clickable URL. The main spots:

Link in bio. Your primary traffic driver on Instagram and TikTok. Swap in a new UTM link whenever you're promoting something specific. Use a tool like Linktree or a custom landing page if you want to track multiple destinations.

Instagram Story links. Any account can now add a link sticker to Stories. Tag these with utm_source=instagram&utm_medium=story so you can separate Story traffic from feed traffic. For more on driving sales through Stories, see our Instagram Stories sales guide.

Pinterest pins. Every pin has a destination URL field. Tag it so you know which pins are actually sending buyers. If you're building out a full Pinterest approach, our Pinterest marketing guide for Shopify covers strategy alongside tracking.

Facebook posts and bio links. Same approach. Use utm_source=facebook.

TikTok bio link. Only one link allowed, but tag it so Shopify records TikTok as the source. For more on organic TikTok traffic, see how to drive Shopify sales from TikTok without ads.

One note: do not use UTM parameters in paid ad URLs unless your ad platform already handles its own tracking. Mixing them can create duplicate or conflicting data.

Where to Find the Data in Shopify

Once your tagged links are live and traffic is coming in, Shopify records the UTM data in two places.

Analytics > Reports > Sessions over time

Filter by referrer or traffic source. You'll see session volume broken down by where visitors came from. This is where you confirm your UTM tags are firing correctly. Shopify's help docs on marketing reports walk through the full filter options.

Marketing > Reports

This is the more useful view for connecting social activity to store performance. You can see sessions, orders, and conversion rates by source. Filter by UTM campaign to see how individual promotions performed.

If you use Google Analytics 4 alongside Shopify, your UTM data also populates in GA4 under Acquisition > Traffic Acquisition, filtered by session source/medium.

What to Do with the Data

Once you have a few weeks of tagged traffic, patterns start to emerge. Here's what to look for:

Which platform sends converting traffic. Sessions are nice, but orders matter. A platform that sends 500 visitors with 2 purchases is less valuable than one that sends 80 visitors with 6 purchases. UTM data lets you compare conversion rates by source. For more on tying social activity to revenue, see how to track social media ROI for your Shopify store.

Which campaigns drove spikes. Filter by campaign name to see if your tote launch outperformed your candle restock. This helps you understand which types of posts or products resonate.

Where to focus your posting effort. If Instagram organic is driving 80% of your social-attributed orders and TikTok is flat, that's useful information for where to spend your time. Knowing which social media metrics actually matter makes this analysis easier.

Use this data on a weekly or monthly cadence. Check it after campaigns. Let it inform your content decisions rather than posting by instinct.

The Limitation of UTM Tracking

UTM parameters tell you which platform sent a sale. They do not tell you which specific post triggered the interest.

If three Instagram posts linked to the same product page with the same campaign tag, you can't tell from Shopify which one drove the visit. You know Instagram worked. You don't know what about Instagram worked.

This is where post-level pattern analysis matters. Understanding what content formats, hooks, and topics actually correlate with traffic and orders requires a layer of analysis that goes beyond what UTM tags alone can provide.

For pure UTM setup, Shopify's built-in reporting does the job. For going deeper on what your content is actually doing, you need tools that connect post-level data to store performance over time.

How Mora Helps

UTM tracking tells you the platform. Mora tells you the post.

Where Shopify's reports stop at "Instagram sent 40 sessions this week," Mora connects your individual social posts directly to store performance. It surfaces which content formats, caption styles, and product angles actually correlate with traffic spikes and orders. Instead of guessing why Instagram outperformed TikTok last month, you can see exactly which posts drove the difference.

Mora also generates the content being tracked — product images, short-form video (powered by Veo 3.1 and leading video models, with brand-aware prompt optimization built in), and captions in your brand voice. The Shopify analytics correlation is built on top of that creation workflow, not bolted on as a separate measurement layer. When a campaign performs, use /repurpose to adapt it across formats without rebuilding from scratch.

Rather than manually pulling reports and cross-referencing post schedules, you get a single view that ties your social activity to Shopify revenue at the post level. That means faster iteration, less guesswork, and more time creating content that actually converts.

Frequently Asked Questions

Do UTM parameters affect my Shopify SEO or product URLs?

No. UTM parameters are query strings that get stripped by search engines during indexing. They only pass data to your analytics tools and have no effect on how your pages rank or appear in search results.

Should I use different campaign names for the same product on different platforms?

You can use the same campaign name across platforms. The utm_source field separates the data by platform, so you can compare performance for the same promotion across Instagram, TikTok, and Pinterest without needing unique campaign names for each.

What if I forget to tag a link?

That visit gets logged as direct or unattributed. It won't break anything, but you'll lose the data for that click. Get in the habit of tagging every link you share on social before you post. Build the UTM link first, then schedule the post.

Can I use UTM parameters with Shopify's discount codes?

Yes. UTM parameters and discount codes work independently. You can tag a URL with UTM parameters and also share a discount code in the same post. Shopify tracks the UTM data for attribution and applies the discount at checkout separately. This gives you two data points: where the traffic came from (UTM) and which offer drove the conversion (discount code).

How many UTM parameters should I use per link?

Three is the standard for social media tracking: utm_source, utm_medium, and utm_campaign. Google supports two additional parameters, utm_term and utm_content, which are useful if you want to A/B test different link placements or creative variations within the same campaign. For most Shopify store owners, three parameters provide enough granularity without overcomplicating your naming system.

Do UTM parameters work with shortened URLs?

Yes. Link shorteners like Bitly preserve UTM parameters when they redirect. The tagged URL still passes the full parameter string to Shopify when someone clicks through. Just make sure to add the UTM parameters to your full URL before shortening it, not after.

Start Tracking Today

Pick one platform and one product. Build a tagged URL using the Campaign URL Builder, drop it in your bio link, and run it for two weeks. Then check Shopify's Marketing Reports.

That single test will tell you more about whether your social posting is actually driving sales than months of tracking vanity metrics. And once you see the data, you'll never share an untagged link again.

For more on connecting social activity to Shopify store performance, see:

Nick Kosmos

Sales Team Lead

Nick leads partnerships and revenue at Mora, advising high-growth Shopify brands on how to connect social strategy to real commercial outcomes. He helps teams roll Mora into live workflows with clear adoption plans, accountability, and KPI ownership.

More articles

Keep reading practical content guidance.

Marketing17 min read

How to Use AI to Create Social Media Content for Your Shopify Store

Learn how Shopify store owners use AI tools to write captions, generate content ideas, and repurpose posts faster without losing brand voice.

Read article
Guides15 min read

Best AI UGC Tools for Shopify Store Owners [2026]

AI UGC tools have become a practical part of the content stack for Shopify stores that need consistent short-form video without hiring a production team or sourcing real creators for every product. The category has grown quickly, and the differences between platforms matter depending on whether y...

Read article