Assign dynamic value to eVar upon user behavior

Avatar

Avatar

H_L

Avatar

H_L

H_L

21-12-2020

Is it possible to assign different value to same eVar upon different user behavior?

e.g., a page can be accessed either by click a tab or directly copy/paste URL

if the page is accessed by clicking a link/tab on previous page (in same domain), assign value to : "PageName A Link"

if it is accessed by copy/paste, assign value to: "PageName A"

Plus,

is it possible to assign to "PageName A SE" if it is landing from external search engine?

 

Thanks in advance.

H

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

evolytics_brian

Avatar

evolytics_brian

evolytics_brian

22-12-2020

@H_L -

It sounds like you're wanting to create a report that combines the page name with the traffic source. If that's the case, it's certainly possible, but it requires client-side code to identify each of your marketing channel based on referrers, tracking codes, etc. (In a way, you have to build Marketing Channel Processing Rules, but using JavaScript.) If you're using Launch, take a look at the Channel Source Identifier extension. It should take care of the heavy lifting for you, but you'll still have to define your channels and how they're defined.

Answers (1)

Answers (1)

Avatar

Avatar

yuhuisg

Avatar

yuhuisg

yuhuisg

21-12-2020

Sure, you can assign any value that you want to an eVar… as long as you know how to code it properly.

This requirement might be impossible, though:

if it is accessed by copy/paste, assign value to: "PageName A"

because it's not possible to detect when a user has pasted a URL into their browser's address bar.

But the other two are definitely possible with the right coding for setting your eVar's value.