عربي
News
●E-invoicing: the last date to connect for wave 25 is February 1, 2027●WhatsApp Business: service messages are paid after 1,000 free per month●Salla acquires Paylink to strengthen payment solutions for merchants●Google launches a Gemini agent for businesses first, then consumers●Hostinger's White Friday deals continue until December 14

Know where every visit and customer comes from with UTM tags in Google Analytics

You will build UTM-tagged links for each channel, use fixed naming, and find their results in Google Analytics reports.

The problem

You post your store link on Snapchat, Instagram, WhatsApp and the email newsletter, then in analytics you see "direct" visits whose source you don't know. You don't know which post or campaign brought the customer, so you repeat what doesn't work and stop what does. The fix is to add tags called UTM to every link you publish, so Google Analytics knows the source of each visit.

The tool

UTM tags are parameters added to the end of a link, and their values appear in Google Analytics reports. The steps below come from the two official help pages "URL builders: Collect campaign data with custom URLs" and "Traffic-source dimensions, manual tagging, and auto-tagging". The steps assume your website is already connected to Google Analytics. We won't describe the fields of the Campaign URL Builder tool because we couldn't see its interface, and we will build the links by hand from the documented parameters.

The steps

  1. Agree with yourself on fixed names before you write a link. The docs advise one consistent source per platform, one medium per channel, a campaign name that matches the actual campaign, and lowercase. Values are case sensitive, so Meta is not meta.
  2. Start with the base link of the page you want to send visitors to, such as example.com/offer.
  3. Add a question mark after the base link. Then write each parameter as name=value and separate the pairs with an ampersand (&). The order of parameters doesn't matter.
  4. Always use the three parameters: utm_source, the referrer, such as snapchat or newsletter; utm_medium, the marketing medium, such as email, social or cpc; and utm_campaign, the product, slogan or promo code, such as spring_sale.
  5. Add the optional parameters when needed. utm_content tells creatives apart, such as two links in the same email. utm_term is for a paid keyword. The docs recommend setting all relevant parameters, especially utm_id, which matches the campaign ID, because missing parameters show up in reports as (not set).
  6. The docs' own example in general form is the base link followed by ?utm_source=summer-mailer&utm_medium=email&utm_campaign=summer-sale. In the same form, the link for your WhatsApp offer becomes: example.com/offer?utm_source=whatsapp&utm_medium=broadcast&utm_campaign=eid_offer.
  7. Google provides a Campaign URL Builder for websites, with which you can generate the link instead of typing it. It is also wise to keep a simple sheet with every link, its page and its date, so names don't repeat in different spellings.
  8. Publish the tagged link where it is meant to go: the ad, the newsletter, the WhatsApp message or the profile page. Don't use a tagged link where you need a clean link just for display.
  9. After visits arrive, open your Google Analytics reports. The docs say the parameter values appear in the Traffic acquisition report, and also as dimensions in reports and explorations, such as Session source, Session manual source and First user manual medium.
  10. If you linked Google Ads to Google Analytics, don't add manual tags to Google ads needlessly. The docs say Analytics uses the auto-tagging values for source and medium when both are present.

The real cost

The two help pages we checked mention no fee, so your real cost is discipline: build every link in the same form every time. A single mistake in letter case, like Facebook versus facebook, splits your data into two rows.

The free alternative

If you don't need details, three tags are enough: utm_source, utm_medium and utm_campaign, typed by hand on each link, with a sheet to collect the names. No extra software is needed.

Notes

  • We have not tried these steps ourselves yet; they are based on the current official docs. Button names may change, so if your interface differs, follow the docs.
  • Values are case sensitive according to the docs. Always use lowercase.
  • We did not find in the docs we reviewed anything about links between pages of your own website, so we give no advice on that.

Sources

  1. support.google.com
  2. support.google.com

Did you like this guide?

The weekly newsletter is being prepared. Leave your email and we'll send it when it launches.

We use your email only to send the newsletter. Privacy policy