Last updated: October 13, 2020
Query string parameters are added to your website URLs when you use tracking URLs to track a visit from a certain source and campaign, or pass values in the URL. They're also used in some external CMS systems to display specific content on a page.
HubSpot strips UTM parameters from visited URLs in contact records. Because of this, list and workflows using the Page view filter may not pull in the contacts you're expecting. There are two differences in the way that Page view filters search for contacts:
Learn more in the examples below.
Common UTM parameters that are stripped from visited URLs in contact records include:
However, HubSpot will not strip non-UTM query strings from visited URLs on contact records. For example, in the URL www.hubspot.com/offer?discount, ?discount is a non-UTM query string.
The example scenarios below illustrates how the lists and workflows tools handle query strings when evaluating whether a contact meet its criteria. For purposes of the examples, there are three contacts who viewed the page differently:
To add contacts who have viewed the page as a part of your email campaign to a list or workflow, the criteria Contact has visited URL containing, is set to /pricing?utm_source=email.
The list or workflow looks for contacts who have visited the URL with that exact query string.
To add contacts who viewed the page as part of another campaign to a list or workflow, the criteria Contact has visited URL containing, is set to /pricing?specialdiscount.
To pull in contacts who have viewed a URL containing /pricing without any query string parameters, the criteria Contact has visited URL containing, is set to /pricing.
All 3 contacts will be added to the list or workflow. They meet the criteria because they have all viewed the page containing /pricing. In this scenario, it doesn't matter if they viewed the page with or without the query string.
To add contacts who have visited the exact URL for your email campaign, http://www.domain.com/pricing?utm_source=email, the criteria Contact has visited exact URL is set to the full URL.
In this case, HubSpot strips the UTM parameters from the criteria URL as well. The list or workflow will hence, look for contacts who have viewed the exact URL http://www.domain.com/pricing, and not the URL containing the query parameters.
You can use the campaign analytics tool to measure the effectiveness of all the campaigns you've created in...
Manually tracked custom behavioral events enable to you define and track events that are unique to your...
Original source drill-down 1 and Original source drill-down 2 are two analytics properties included on every...