Home › Insights › Social & Ads

UTM Tags Explained: How to Know Which Ad or Post Brought the Customer

Social & Ads · 24 Jun 2026 · SNS Premium Digital
UTM Tags Explained: How to Know Which Ad or Post Brought the Customer

Many Malaysian business owners tell us the same thing: "I post every day and run some ads, but I do not know which one brings customers." Google Analytics can tell you, but only if you label your links first. That label is called a UTM tag.

What is a UTM tag?

A UTM tag is extra text at the end of a web link. It does not change where the link goes. It only tells your analytics tool where the visitor came from. Here is an example:

yourshop.com.my/promo?utm_source=facebook&utm_medium=paid&utm_campaign=cny-sale

When someone clicks this link, Google Analytics records that the visit came from Facebook, from a paid ad, in the campaign called "cny-sale".

The three tags you need

There are two more, utm_content and utm_term. They are useful if you want to compare two versions of the same ad, for example "video-a" and "image-b". For most small businesses, the first three are enough.

Why this matters

Without tags, Google Analytics often puts clicks from apps into a big bucket called "direct" or "unassigned". That happens a lot with WhatsApp and Instagram, because those apps hide where the click came from. Then you cannot tell if your Facebook ad worked or if people simply typed your name.

With tags, you can answer real questions:

How to build a tag in two minutes

Google has a free tool called the Campaign URL Builder. Type your page address, then fill in source, medium and campaign. It gives you the full link. Copy it and use it in your ad, post or message.

Many people also use a simple spreadsheet. One column for the page, one each for source, medium and campaign, and one for the final link. This keeps everyone in the team using the same names.

Rules that save you headaches

Where to use them

Facebook and Instagram ads, TikTok ads, the link in your bio, email newsletters, WhatsApp broadcasts, QR codes on printed flyers, and even links in your Google Business Profile. A QR code on a poster is a good one: if the poster has its own tag, you finally know if printing it was worth it.

Where to read the results

In Google Analytics 4, open Reports, then Acquisition, then Traffic acquisition. Change the view to "Session source / medium" or "Session campaign". You will see each tag as its own line, with visits and, if you have set up conversions, how many became enquiries.

A small warning: long links look ugly in a WhatsApp message. Use a link shortener, and test that the final link still opens the right page and keeps the tags.

A simple habit

Before any ad or post goes live, ask: "Does the link have a tag?" That one question is enough to turn your marketing from guessing into learning.

Not sure your tracking is set up correctly? Talk to us and we will check it with you.

Want this done for your business?

SNS Premium Digital is a data and AI marketing agency in Petaling Jaya. SEO, social media, ads and AI content, with clear monthly reports.

Get a free consultation

More insights

How to Set Up WhatsApp Business: Profile, Catalog, Labels and Auto MessagesWhy Email Marketing Still Works for Malaysian SMEsInside Our Office at Dataran Prima: How the SNS Team Works