CONCATENATE / Marketing Analyst

Create UTM Parameters

As a Marketing Analyst, I frequently need to generate UTM (Urchin Tracking Module) parameters to track the performance of various marketing campaigns. Manually typing these parameters for each URL is time-consuming and prone to errors. I need a way to efficiently combine a base URL with specific source, medium, and campaign values to create complete, trackable URLs.

formula.xlsx
=CONCATENATE(A2,"/?utm_source=",B2,"&utm_medium=",C2,"&utm_campaign=",D2)

How it works: The CONCATENATE function allows you to join several text strings or cell values into one cohesive string. In this scenario, it's used to dynamically construct a full UTM tracking URL by combining the static parts of the URL (like "/?utm_source=", "&utm_medium=", etc.) with the dynamic values from your data columns (Base URL, Source, Medium, Campaign). This ensures consistency and accuracy across all your tracking links, saving significant time and reducing manual errors.

Data Setup

Base URL Source Medium Campaign
https://www.example.com/landing google cpc summer_sale
https://www.example.com/blog facebook social new_product_launch

Step-by-Step Guide

1

Enter your base URLs in Column A (e.g., 'https://www.example.com/landing'), sources in Column B (e.g., 'google'), mediums in Column C (e.g., 'cpc'), and campaign names in Column D (e.g., 'summer_sale').

2

In cell E2 (or the first cell where you want the combined URL), type the formula: `=CONCATENATE(A2,"/?utm_source=",B2,"&utm_medium=",C2,"&utm_campaign=",D2)`.

3

Press Enter to see the generated UTM URL.

4

Drag the fill handle (the small square at the bottom-right of cell E2) down to apply the formula to the rest of your data, automatically generating UTMs for all rows.

Explore More