Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Assign dynamic value to eVar upon user behavior

H_L
Level 8
Level 8

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

1 Accepted Solution
evolytics_brian
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

3 Replies
yuhuisg
Community Advisor
Community Advisor

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.

evolytics_brian
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post