Segment Conditions: UTM Parameters | RightMessage
RightMessage + Your Website? Get a personalized demo. Request yours

URL Campaign Parameters

If you are running a campaign where your traffic originates from a specific source, you can add ‘UTM’ parameters to the URL that Google Analytics will use to track the link.

Learn more on using UTM Parameters

In RightMessage, you can use those same UTM parameters for your personalization campaigns. For example, you may want to show a custom message if a visitor was referred to your site via the UTM parameters of a link in a Facebook Ad campaign.

Below is an example of how these parameters appear at the end of your URL.



utm_source

The platform (or vendor) where the traffic originates, like Twitter or your email newsletter.

Use the dropdown to select the occurrence of the source parameter.


  • On Any Occurence: if the visitor has ever been to your site where the parameter exists

  • On first Page Ever Hit: the first time the visitor has landed on your site where the parameter exists.

  • On first Occurrence: the first time the visitor came to your site with the parameter matching a specific value

  • On Most Recent Occurrence: last time the visitor came to your site with the parameter

  • On Current Page: the visitor currently has the parameter in the URL

Personal Panda says:

If a person has visited your site before, but no parameters were present on that visit, but the 2nd time they visit it has the parameter, then this condition would return false. If you want to only check the first time there was a ref parameter in the URL, use "on first occurrence of"


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


  1. Equals: The source parameter equals a specific value

  2. Doesn’t equal: The source parameter does not equal a specific value

  3. Contains: The source parameter contains a specific value

  4. Doesn’t contain: The source parameter does not contain a specific value

  5. Starts With: The source parameter value starts with something specific

  6. Ends With: The source parameter value ends with something specific

  7. Wildcard Match: The source parameter has a value that matches zero or more non-space characters, or one exact character.

Add the value of the source parameter to the field provided.



utm_medium

You can use this to identify the medium like Cost Per Click (CPC), social media or affiliate codes.

Use the dropdown to select the occurrence of the medium parameter.


  • On Any Occurence: if the visitor has ever been to your site where the parameter exists

  • On first Page Ever Hit: the first time the visitor has landed on your site where the parameter exists

  • On first Occurrence: the first time the visitor came to your site with the parameter matching a specific value

  • On Most Recent Occurrence: last time the visitor came to your site with the parameter

  • On Current Page: the visitor currently has the parameter in the URL

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


  1. Equals: The medium equals a specific value

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

  3. Contains: The medium contains a specific value

  4. Doesn’t contain: The medium does not contain a specific value

  5. Starts With: The medium value starts with something specific

  6. Ends With: The medium value ends with something specific

  7. Wildcard Match: The mediumhas a value that matches zero or more non-space characters, or one exact character.

Add the value of the medium parameter to the field provided.



utm_campaign

A name used to identify your campaign, like your website, social media marketing or a specific product promotion.

Use the dropdown to select the occurrence of the campaign parameter.


  • On Any Occurence: if the visitor has ever been to your site where the parameter exists

  • On first Page Ever Hit: the first time the visitor has landed on your site where the parameter exists

  • On first Occurrence: the first time the visitor came to your site with the parameter matching a specific value

  • On Most Recent Occurrence: last time the visitor came to your site with the parameter

  • On Current Page: the visitor currently has the parameter in the URL

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


  1. Equals: The campaign equals a specific value

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

  3. Contains: The campaign contains a specific value

  4. Doesn’t contain: The campaign does not contain a specific value

  5. Starts With: The campaign value starts with something specific

  6. Ends With: The campaign value ends with something specific

  7. Wildcard Match: The campaign has a value that matches zero or more non-space characters, or one exact character.

Add the value of the campaign parameter to the field provided.



utm_term

Used for tracking keywords during a paid AdWords campaign. You can also use it in your ad campaigns to identify aspects of an audience.

Use the dropdown to select the occurrence of the term parameter.


  • On Any Occurence: if the visitor has ever been to your site where the parameter exists

  • On first Page Ever Hit: the first time the visitor has landed on your site where the parameter exists

  • On first Occurrence: the first time the visitor came to your site with the parameter matching a specific value

  • On Most Recent Occurrence: last time the visitor came to your site with the parameter

  • On Current Page: the visitor currently has the parameter in the URL

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


  1. Equals: The term equals a specific value

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

  3. Contains: The term contains a specific value

  4. Doesn’t contain: The term does not contain a specific value

  5. Starts With: The term value starts with something specific

  6. Ends With: The term value ends with something specific

  7. Wildcard Match: The term has a value that matches zero or more non-space characters, or one exact character.

Add the value of the term parameter to the field provided.



utm_content

Used to differentiate links that point to the same URL and for A/B testing of ads.

Use the dropdown to select the occurrence of the content parameter.


  • On Any Occurence: if the visitor has ever been to your site where the parameter exists

  • On first Page Ever Hit: the first time the visitor has landed on your site where the parameter exists

  • On first Occurrence: the first time the visitor came to your site with the parameter matching a specific value

  • On Most Recent Occurrence: last time the visitor came to your site with the parameter

  • On Current Page: the visitor currently has the parameter in the URL

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


  1. Equals: The content equals a specific value

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

  3. Contains: The content contains a specific value

  4. Doesn’t contain: The content does not contain a specific value

  5. Starts With: The content value starts with something specific

  6. Ends With: The content value ends with something specific

  7. Wildcard Match: The content has a value that matches zero or more non-space characters, or one exact character.

Add the value of the content parameter to the field provided.