<?xml version="1.0" encoding="utf-8"?>

Campaign tracking

Campaign tracking helps you understand which marketing efforts bring users to your product. It works by adding special tags to your links that tell you exactly where your traffic comes from, whether it's from email newsletters, social media posts, or paid advertisements.

The most common campaign tracking parameters are:

  • Source (where the link was placed)
  • Medium (type of marketing channel)
  • Campaign name (specific marketing initiative)

For example, a link in your monthly newsletter might track that the user came from "email" (medium) sent by "newsletter" (source) as part of the "june_promotion_2024” (campaign).

These tracking parameters make it possible to measure the success of different marketing channels. When users click a tracked link, their future actions can be connected back to the marketing campaign that brought them to your product, helping you understand which campaigns drive the most valuable user behavior.

Pro Tip: Use a consistent naming convention for your campaign parameters to make analysis easier later. For example, always use lowercase and underscores for campaign names, like “spring_sale_2024.”

Improve your UX & Product skills with interactive courses that actually work