Visitor group based on utm


Hi there

I am new to Episerver. I'd like to create a visitor group based on a specific utm parameter, is this possible?

Many thanks!

Dec 03, 2019 0:02

It depends on your need. How you would like to use them?

Are you expecting the Visitor Group Criteria to take input for UTM params and then create personalized content based on that Criteria?

It will be helpful if you can describe your requirements in more details.

Dec 03, 2019 6:57

Yes, you can create a custom visitor group. You just need to follow the standard implementation approach and define by Episerver and then write down your custom logic.

Dec 03, 2019 7:10


While you could write the criterion yourself as Ravindra suggests, assuming you're looking to create a visitor group based on a "utm_source" or similar querystring parameter then there's a ready-built querystring criterion available in the Episerver nuget feed:

Dec 03, 2019 10:49

Thanks everyone! @Paul - is the querystring criterion an out of box criteria? Under default, I only seem to have URL criteria.

Dec 18, 2019 8:08
Praful Jangid - Dec 18, 2019 8:20
You need to install that nuget package (link provided by Paul). It's not out of box available within Episerver.

As Praful said, the querystring criterion is a package you'd need to install separately from Nuget but, thinking about it, you could use the "Landing URL" criterion depending on your requirements. That criterion will look for a given string within the URL of the first page a user hits in a given session then keep them in that visitor group for the duration of the session. This means that you can direct people to a landing page from your paid search campaigns, etc. then apply personalisation elsewhere on the site (e.g. the home page) knowing where that user came from originally. Setup would be like this:

Dec 18, 2019 11:26
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.