Skip to main content
All CollectionsContentSmartBlocks and Slots
Show content only if someone clicks from a specific email, URL, or campaign
Show content only if someone clicks from a specific email, URL, or campaign

Use a combination of Slot rules to target content at visitors from a specific location.

Updated over 6 months ago

To target content to visitors from a specific email, URL or campaign, you can use a query string parameter in the URL. In this example, we use the utm_campaign parameter familiar to anyone using Google Analytics.


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 — and 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:

This allows us to identify people on the first visit, but, if they navigate to another page on the site the URL will likely not include the utm_campaign parameter.

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.

This only works for some 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?