Skip to main content

Show content only if visitors click from email, URL, or campaign

Use Slot rules to target website content to visitors arriving from a specific email, URL, or campaign.

Updated over 2 weeks ago

To target content to visitors from a particular source, add a query string parameter to your campaign links and match it with Slot rules.
Example: Using the familiar Google Analytics parameter utm_campaign.


Before you start

Things you need to know:

  • You must have already created a Website Personalization Slot.


Target content to specific visitors

Once you have your Slot created:

  1. Edit your Slot.

  2. Go to Rules.

  3. Add a URL rule — found in the Current Page group.

  4. Set it to look for the value that any links from the source fill include. In this case, matching anything with utm_campaign=EXAMPLE in the query string:

How it works

  • This identifies visitors on the first page they visit, based on utm_campaign in the URL.

  • If they navigate to another page, that parameter may disappear.

If you’re using the utm_campaign parameter, you can add a second rule to check the person's record for the value as well, as this is stored.

Using the Person Field rule only works for some configurations without additional work. Contact our Support team if you are using a different parameter.

Using the Person Field rule — under the Person group — select Email campaign clicked and set this to identify the same value as before.

You can add both rules in a group and set it to look if either rule matches. This should then work on the first page they visit, and any subsequent pages, assuming the user doesn't click something else that changes the utm_campaign value.

Now, anyone who lands on a page where this Slot is located and

  • has utm_campaign=EXAMPLE in the query string

    or

  • who clicks to any other page where the Slot is included having visited the site with that parameter at an earlier stage sees the Social Proof SmartBlock. Any visitors not meeting these criteria see nothing.

Did this answer your question?