URL Rules

URL rules are an easy way to create sources, sales, action tags or lead stages passively if the visiting URLs have distinct words or snippets in the URL.

WARNING: If you’re tracking link clicks sending traffic to your landing page, the best option is to track via THIS GUIDE. This allows you to track more granularly and will provide the most accurate data possible. URL rules are best utilized when you don’t have control over source links. If you have any questions please contact in-app support or the onboarding team.

IMPORTANT PLEASE READ: A few Warnings regarding URL rules

BE VERY CAREFUL TO MONITOR THE RESULTS OF YOUR RULE. If your matched word is in unintended URLS it could attribute the source incorrectly. For example if you use the word “email” as your matched word then people visit a blog post with the URL blog.com/email-guide, all visitors to this guide will get tagged email. Make sure your rule is isolated to unique URLs and instances.

BEFORE SETTING UP A URL RULE FOR ORGANIC FACEBOOK, YOUTUBE OR GOOGLE ETC, please make 100% sure ad tracking is set up correctly first, otherwise, for example, if a youtube ad is not tracked correctly, the above URL rule will falsely track a Youtube organic click instead of a google ad click. For this reason, when possible it is always safer + more accurate to track via THIS GUIDE, and if that’s not possible, THEN creating a URL rule using the referrer URL will help to avoid this issue if there are specific UTM’s identifying the source (eg “utm_source=youtube&utm_medium=organic” clearly identifies an organic click).

How To Create a URL rule

Video Guide

Written Guide

1. Simple Rule


Use-Case Examples

Please see the dropdown below and follow the exact steps to track some of the more commonly found external sources:

Youtube

Google Search

Google Organic Shop (for Shopify Stores)

Attentive (SMS Campaigns)

Facebook Shopping

Bing Search

Ecosia Search

DuckDuckGo


2. Dynamic Rule

The dynamic rule is especially useful for Email and SMS campaigns, specifically when we want to track the source for each individual campaign separately.

Instead of creating a Simple Rule for each campaign we just need to create a Dynamic Rule which will automatically create a source for each campaign inside Hyros.

Go to to “Tracking” and then “URL Rules” in your Hyros account.

Click “Add new rule”.

Click “Dynamic Rule”

Click the “URL Rule Name” field and name it whatever makes sense to you

Click the “URL parameter” field. Using the standards UTM’s you have already setup, you can add the parameter you want to use to track a source. For example, the most common case for emails would be to type “utm_campaign” and click enter.

Select the Tag type you want to generate. In the example of emails we want to generate a source.

OPTIONAL STEP – Click “Advanced Settings”.

You will see by default under the “Dynamic Source Traffic Parameter” we are using utm_source. This means when we first create a brand new source using this rule, if the utm_source exists in the same click we will use this to organize this source into a traffic source automatically.

You can do exactly the same in the “Dynamic Source Category Parameter” to automatically configure the category of any newly created sources using this rule, although this is not necessary.

Click “Create rule”.

IMPORTANT
This should not be used as an alternative to ad tracking, for ads you should follow the guide for each specific ad platform to ensure we track your ads correctly, otherwise you will not be able to read your cost data correctly. If the UTM exists on a source click that you have already setup tracking on with Hyros, the URL rule will be ignored.


Advanced configuration

Changing Tags

Tracked URL vs Previous URL

Organic Source Configuration for URL rules

URL Rules for Lead Stage Tracking


FAQ’s

How Will Sources Created by a URL Rule Look in Your Reports by default?

Any questions or doubts at all about any of this guide, please reach out the support team.