How to attribute pageviews to "most recent" Evar value

jaykay66-x3BXis

25-01-2018

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!

Accepted Solutions (1)

Accepted Solutions (1)

PratheepArunRaj

Moderator

25-01-2018

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

Answers (3)

Answers (3)

Abhijeet_Mishra

Employee

28-01-2018

Hi,

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

Abhijeet_Mishra

Employee

28-01-2018

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.