Creating URL Based Events

Prev Next

Event tracking enables marketers to isolate key user actions throughout the customer journey. One mechanism for tracking events is a URL-Based Event. URL Events are configured based on URL conditions and can be added to any page as long as the Live Tag base tag is implemented. Our tagging best practice article includes guidelines on recommended rule events.  

Creating URL-Based Events

1. To add a URL Event, navigate to Q Pixel from the Global Navigation. 

2. Select Add conversion event

Options to add conversion events and inspect tags in a user interface.

3. Choose URL-Based for the event type. 

Select URL-based event type to create a conversion event without coding requirements.

4. Enter a name for your event.

5. Choose the Conditions that apply. You can apply multiple conditions by clicking the Add button.

Dropdown menu displaying options including Path, URL, and DOM selections.

Dropdown menu showing filter options including 'Starts With' and others.

Note: The URL is the full web address. The domain is the website, in this example, "quantcast.com". The Path refers to the specific section of the website, "/home/".

Note: The rules are case sensitive, i.e.,f "thank-you" does not equal "Thank-you."

Note:  The Equals condition is usually only used for homepages as it is the most restrictive condition. The Contains condition, on the other hand, can be very broad.

Note: To build a rule for UTM parameters commonly used with social media, use the URL “contains” condition; enter the UTM parameter in

the text box.

  • For homepage URLs, the following condition can be used, provided the URL equals the domain.

  • Multiple conditions can be added to the same Rule Event with an AND relationship when you select ADD. For this Rule Event to fire, all conditions must be met. 

If you want the same label to fire for different URLs, you need to create multiple rules. 

conditions add

  • A Rule Event can be set on a button as long as there is a button ID and the tag is firing on the page where the button is located. The following conditions are available:

⚠️ Adding an additional data pass-back tag to buttons or conversion pages is recommended, as any URL restructuring could cause a Rule Event to drop off. 

Examples of Rules

Desired Action

URL

Label

Condition

Fire on Homepage

https://www.quantcast.com/home

Homepage

URL equals https://www.quantcast.com/home or PATH equals /home

Fire on product pages

https://www.quantcast.com/products/measure-audience-insights/, https://www.quantcast.com/products/insights/

Products

Path contains /products/, or, URL contains /products/

Fire on help center pages

https://help.quantcast.com/hc/en-us, https://help.quantcast.com/hc/en-us/categories/115000911088-Overview-for-Publishers-

Help Center

URL starts with https://help.quantcast.com/

  •  The status of a Rule Event will change to Active as soon as a site visitor is on the labeled page. The Total Impressions indicate how many times the event has fired.

  • To verify that an event is active, navigate to the vertical ellipsis in the top-right corner and select Verify URL to test a specific site page.

Using Rule-Based Events 

Rule events can be used within campaigns as conversion, lookalike, and/or suppression events.

In addition to their use in campaign execution, Rule-Based Events allow you to explore audience insights more granularly. The events will populate the Site Events Audiences tab on the platform's Audiences screen.

When creating an audience from scratch, you can use Rule Events to drill down to a specific audience, such as cart abandoners, by utilizing AND or EXCLUDE conditions.Highlighted section for Site Event Audiences in Quantcast Pro interface.

Rule Events can be used to drill down to a specific audience, such as cart abandoners, by utilizing AND or EXCLUDE conditions when creating an audience.