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

How to attribute pageviews to "most recent" Evar value

jaykay66-x3BXis
Level 1
Level 1

I have an evar, lets say evar1, that stores a string, the string has many possible values lets say 'a', 'b', 'c', 'd' etc. As someone moves throughout our website evar1 gets populated with values 'a' then 'b' then 'd'. I want to be able to attribute all pageviews to the most recent or last known evar value per visitor. Right now in evar1 custom reporting it will attribute a pageview to each value regardless of the most recent value. Ultimately this is what i want to see...

Visitor 1:
Navigates to page1, evar1=a,    navigates to page2, evar1=b,    navigates to page3,  evar1=d

then in reporting normally I would see

evar1, pageviews
'a', 1
'b', 1
'd', 1

but I want

evar1, pageviews
'a', 0
'b', 0
d, 3


So the most recent value is what gets counted, I believe I may need to create a custom report but any insights would be greatly appreciated! Thanks!

1 Accepted Solution
PratheepArunRaj
Correct answer by
Moderator
Moderator

Dear JayKay,

From Data Feed we can calculate the above manually. But i don't think it is possible without that.

Will wait for other experts opinion, they might have some idea.

Thank You!

Arun

View solution in original post

4 Replies
PratheepArunRaj
Correct answer by
Moderator
Moderator

Dear JayKay,

From Data Feed we can calculate the above manually. But i don't think it is possible without that.

Will wait for other experts opinion, they might have some idea.

Thank You!

Arun

View solution in original post

Abhijeet_Mishra
Employee
Employee

Hi,

Page Views metric doesn't follow the allocation model rather it gets attributed to each value which was fired as part of the s.t() calls.

You requirement can only be fulfilled by a custom report out of the Data feeds as already suggested by Pratheep.

jaykay66-x3BXis
Level 1
Level 1

What types metrics follow the allocation model?

Abhijeet_Mishra
Employee
Employee

Hi,

Allocation mostly comes into picture for success/conversion events like commerce events (Order, Revenue etc.), custom success events etc.