Visitor group based on utm

Vote:
 

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!

#210665
Dec 03, 2019 0:02
Vote:
 

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.

#210671
Dec 03, 2019 6:57
Vote:
 

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.

https://world.episerver.com/documentation/developer-guides/CMS/personalization/example-create-your-own-visitor-group-criteria/

https://world.episerver.com/documentation/developer-guides/CMS/personalization/developing-custom-visitor-group-criteria/

#210672
Dec 03, 2019 7:10
Vote:
 

Hi,

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:

https://nuget.episerver.com/package/?id=QueryStringCriterion

#210674
Dec 03, 2019 10:49
Vote:
 

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

#211125
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.
Vote:
 

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:

#211130
Dec 18, 2019 11:26
* 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.