Back to blog
Rajat SachdevaNov 19, 20266 min read

UTM Links for Instagram DMs: Build, Test and Fix Them

Build tagged Instagram DM links, preserve existing URL parameters, test the mobile journey and find the right campaign dimensions in Google Analytics.

UTM Links for Instagram DMs: Build, Test and Fix Them

Add UTM tags to the resource link you put in your Instagram DM, then check the full journey from the message to the destination. Use consistent campaign names so you can find the resulting visits in your analytics.

UTM tags describe the link someone used. They do not confirm that a DM was delivered, identify every person who tapped it, or prove that someone downloaded the resource.

This guide builds one tagged link, adapts it for different placements, and checks the common ways that tracking can go wrong.

Research checked November 19, 2026 against Google Analytics documentation and the current Solovio link generator code. The examples use fictional pages on example.com. Their URL structure was checked locally; no live Instagram or Analytics account test is claimed.

Start with a destination you can measure

Choose the page where you want someone to arrive: a worksheet page, workshop registration page or product page. Open it on your phone first and confirm that it delivers what the DM promises.

A tagged link does not install analytics. For Google Analytics 4 (GA4), your website needs the relevant data stream and Google tag setup. Google’s Analytics setup guide covers those requirements.

If your button opens a hosted PDF or another company’s page, check what that host can report. Do not assume visits will appear in your own GA4 property. A landing page you control can be easier to verify, provided it still gives people a clear route to the promised resource.

Choose names before building the link

Imagine a watercolor educator sharing a free palette-planning sheet. For this campaign, I would use the following naming sheet:

FieldExample valueWhat it helps distinguish
SourceinstagramThe platform
MediumdmThe delivery route
Campaignwatercolor_paletteThe resource campaign
Contentreel_palette_dmThis particular placement

Google recommends including source, medium and campaign when you tag a URL. Values are case sensitive, so choose one spelling and reuse it. Google’s campaign URL guide explains the parameters and naming rules.

The values above are an editorial convention, not required Instagram labels. If you already have an established naming system, keep it consistent rather than changing old campaigns just to match this example.

Keep the campaign name stable when several placements promote the same resource. You could use reel_palette_dm for a comment-triggered message and story_palette_dm for a Story-triggered message. A bio link could use medium social and content bio_palette. Record each final URL beside its placement so you can trace it later.

Use campaign labels rather than a recipient’s email address, phone number or name. Google’s guidance specifically excludes personally identifiable information from URLs and UTM parameters. Google’s guidance on campaign data and PII

Build the DM link in Solovio’s UTM generator

Open the free UTM link generator and enter your actual destination URL. For the example above:

  1. Set Source to instagram.
  2. Change Medium to dm. The generator starts with social.
  3. Change Campaign to watercolor_palette.
  4. Change Content from bio_link to reel_palette_dm.
  5. Leave Term empty unless your reporting plan needs it, then select Copy URL.

Those defaults are useful for a bio link, but checking them matters when you are building a DM link. The generator preserves the capitalization you enter; it does not choose a naming convention for you.

A fictional clean destination produces this link:

https://example.com/palette?utm_source=instagram&utm_medium=dm&utm_campaign=watercolor_palette&utm_content=reel_palette_dm

Paste the generated address into the resource button’s destination. Keep the button label readable, such as Get the palette sheet. For the full automation setup, follow the Instagram comment-to-DM walkthrough.

Preserve existing parameters and page anchors

Suppose your destination already looks like this:

https://example.com/palette?format=a4#download

The format parameter belongs to the page, and the anchor points to its download section. Keep them when adding campaign tags:

https://example.com/palette?format=a4&utm_source=instagram&utm_medium=dm&utm_campaign=watercolor_palette&utm_content=reel_palette_dm#download

Use one question mark to start the query, ampersands between parameters, and the anchor after the query. Adding a second question mark or putting the tags after the anchor changes the URL structure. MDN’s URL guide explains these parts.

Solovio’s generator uses the URL’s search parameters to set its UTM fields, preserving other parameters and the anchor. When reusing an old campaign link, inspect every UTM field before copying the result. A new source with last month’s campaign name is still the wrong tracking plan.

Enter ordinary field values into the generator. Do not manually encode them first: URL parameter serialization handles encoding, and already encoded input can be encoded again. MDN’s URLSearchParams documentation explains this behavior.

Test the link from the message, not only your notes

Before publishing the Reel, I recommend checking these five things:

  1. The DM contains the generated address. Check the actual saved button destination, especially if you copied an older automation.
  2. The mobile page works. Open the button in Instagram and confirm that the sheet, form or product is accessible.
  3. Redirects preserve the intended journey. If a short link or intermediate page is involved, inspect the final address and verify that your analytics receives the expected campaign values. A successful redirect alone does not confirm attribution.
  4. The test can be recorded. Use your normal consent settings and a browser context where analytics is able to run. Tags in an address do not force analytics to collect a visit.
  5. You record the test time and labels. Keep those notes so you can distinguish QA activity from the launch.

For attribution QA, also use a fresh browser session rather than relying only on a session already open on your site. Google documents that session_start carries the UTM and referrer information used to determine session attribution. How GA4 session attribution works

Find the campaign in GA4

After report processing, check the relevant date range in Traffic acquisition. Use Session campaign to find watercolor_palette and Session source / medium to check instagram / dm. These session dimensions describe the traffic that led to the session. Google’s Traffic acquisition report guide

For placement detail, look for Session manual ad content in a suitable report or exploration. Google maps utm_content to its manual ad content dimensions, even when your link is not an advertisement. Google’s manual-tagging dimension reference

Do not expect a default channel called “DM.” Google applies channel-group rules separately from your source and medium values; Organic Social, for example, can match a recognized social source or specified social mediums. An unexpected channel label is a reason to inspect the underlying dimensions before replacing your links. Google’s default channel definitions

Once the campaign values arrive correctly, use the comment-to-DM measurement guide to connect campaign sessions with your chosen outcome. Save the tested URL in your campaign notes and reuse its naming pattern for the next resource.

Build calmer creator workflows

Use Solovio for content, planning, analytics, automation, conversations, and creator admin.

Create account