Segment Conditions: Referred By Domain or URL | RightMessage
RightMessage + Your Website? Get a personalized video showing how we can help. Request yours

Referred By Domain or URL

If a visitor to your website is not yet a subscriber or customer, RightMessage has other ways to detect how they were referred to your site.

For example:

  1. A visitor to your website has come from a website that is linking to you- https://websitedomainname.com.

  2. A visitor to your website may have been sent from a specific forum thread or article - quora.com/what-should-i-do-when/

Select A Referred By Option

Use the drop down provided to select an option for the website referral.


  • The visitor was referred by a specific domain name

  • The visitor was referred by a matching URL.


Domain

Use the field provided to add the URL of the domain name the visitor has been referred from


URL

Use the dropdown to select a keyword that will test the ‘truth’ of the URL and whether it is true or false.


  1. Equals: The URL equals a specific value - websitedomainname.com/blog/article-slug/

  2. Doesn’t Equal: The URL does not equal a specific value

  3. Contains: The URL contains a specific value: /blog/

  4. Wildcard Match: The URL has a value that matches zero or more non-space characters, or an exact character. *websitedomainname.com/blog/*

A Note Regarding Links That Open In A New Tab

A common way for websites to add links to external websites is to add target="_blank" to the link. This will open the website being linked to in a new window or browser tab.

Websites will do this so visitors are not directed away from the website they are currently on.



Due to browser security, referrer data is no longer passed to a new tab/window when target="_blank" is being used. The reason is due to the potential for 'phishing' code to be injected as the new tab/window is opened.

This means RightMessage, and other referral tracking services such as Google Analytics, Optimizely etc, won't able to detect referrer information from links that are using the target="_blank".

For referral links where target="_blank" has been used, we recommend adding a custom query to the end of the URL being linked to and use the 'Custom Query' condition in your segment.