- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Identifying URLs with Query Strings in custom JS events?
May 11, 2017 3:32 PM
When creating a custom Javascript event in Hubspot you can add a URL so that the event only triggers on a certain page. That’s described in this article: https://knowledge.hubspot.com/events-user-guide-v2/using-custom-events
If there is a querystring in the URL, will the event be able to distinguish between URLs with that query string and without it? Or can it not identify unique URLs created with that string?
To give some context, we are trying to create an event for when someone comes to our homepage from a paid search ad. This would only fire if the lead visits this URL with a unique query string: https://siftscience.com/?utm_source=google&utm_medium=cpc&utm_term=sift-science&utm_content=sift-sci...
Would love to do this with the normal enrollment criteria, but Hubspot doesn’t support identifying different URLs by query string…
Thanks for your help!
Nate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content