Marketing campaign
Learn how to define an audience based on the marketing campaign.
The campaign variable provides information about the marketing campaign that brought the user to your website or app. It includes details such as the campaign name, source, medium, term, and content.
For example, to target users who came from a specific marketing campaign named "Winter Sale", you can use:
campaign's name is "Winter Sale"
To target users based on a specific source, such as Google or Facebook, you can use:
campaign's source is "google"
You can also segment users who engaged with a campaign using a specific medium, like email or organic search:
campaign's medium is "email"
To focus on users who interacted with a campaign through a specific keyword or phrase, use the term attribute:
campaign's term is "sweater"
Lastly, if you want to target users based on a specific ad within a campaign, use the content attribute:
campaign's content is "main-banner"
For more information on marketing variables, see the Marketing section.