Skip to main content

How to Target Popups by Traffic Source (UTM Parameters)

Learn how to configure Alia popups to display only for specific traffic sources and track their individual performance using UTM parameters.

Rojen M Reji avatar
Written by Rojen M Reji
Updated today

Understanding Traffic Source Tracking in Alia

By default, Alia's analytics track the overall performance of your popup campaigns. This gives you a great high-level view, but sometimes you need more granular data. For instance, you might want to know how a popup performs specifically for traffic coming from Google Ads compared to Facebook Ads. Out of the box, Alia does not segment results by the traffic source or channel automatically.

However, we can achieve this detailed tracking by strategically setting up separate popups for each channel, targeting them based on their unique UTM parameters. This allows you to gain insights into which traffic sources respond best to specific messaging or offers, enabling you to optimize your campaigns more effectively.


Step-by-Step Guide: Setting Up a Traffic-Specific Popup

This process involves duplicating an existing campaign and then modifying its targeting rules to respond to specific UTM parameters in your website's URL. Here’s how to do it:

Example: Targeting Google Ads Traffic

Let's walk through an example to set up a popup specifically for visitors arriving from Google Ads. You can adapt this process for any other traffic source by simply changing the `utm_source` value.

  1. Duplicate Your Default Campaign:

    Start by finding the popup campaign you want to use as your base. This is typically your best-performing or most relevant default campaign. Navigate to your "Campaigns" dashboard in Alia, locate the desired campaign, click the three-dot menu (...) next to it, and select "Duplicate". This new campaign will serve as your traffic-specific version (e.g., for Google Ads).

  2. Rename the Duplicated Campaign:

    To keep things organized and clear, immediately rename your duplicated campaign. A descriptive name helps you track its purpose. For example, "Homepage Welcome - Google Ads" or "Special Offer - Facebook Traffic".

  3. Edit Targeting on the Duplicated Campaign:

    Once renamed, select "Edit targeting" section within the campaign. This is where you'll define when and where this specific popup should appear.

  4. Add "Is on pages" Condition:


    Under the "Targeting" section, you'll see various conditions. Select the condition "is on pages". This condition allows you to specify a URL pattern that the visitor's current page must match for the popup to appear.

  5. Specify the UTM Parameter in the URL:

    In the input field for the "is on pages" condition, you will add the specific UTM parameter that identifies your traffic source. For Google Ads, you would typically add:

    /utm_source=google


    This tells Alia to display this popup only if the current page URL contains the string /utm_source=google. This pattern is common when Google Ads campaigns are set up with proper UTM tagging.

  6. Save and Publish:

    Review all your settings to ensure they are correct, then save your changes and publish the campaign. Now, this specific popup will only appear for visitors arriving from Google Ads, allowing you to track its performance independently.

Did this answer your question?