Assign dynamic value to eVar upon user behavior | Community
Skip to main content
Level 7
Dec 21, 2020 9:30 PM UTC
Solved

Assign dynamic value to eVar upon user behavior

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Brian_Johnson_
Brian_Johnson_Accepted solution
Level 8
Dec 22, 2020 1:49 PM UTC

@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.

3 replies

Brian_Johnson_
Brian_Johnson_Accepted solution
Level 8
Dec 22, 2020 1:49 PM UTC

@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.

Translate
H_LAuthor
Level 7
Jan 26, 2021 2:40 AM UTC
Thanks for reply @brian_johnson_
Translate
yuhuisg
New Participant
Dec 22, 2020 5:53 AM UTC

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.

Translate