Expand my Community achievements bar.

Check out the November edition of the Analytics Community Lens newsletter to see what's been trending in the last two months!
SOLVED

Passing an evar value in a Calculated Metrics

Avatar

Level 3

I am looking to create a calculated metric where page views of a visitor per visit is more than a certain number, lets say 6 as a static number and then i want to capture the user's id through an existing evar. Can anyone help me on how to achieve this?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Dear Surabhi,

Create a segmentation with Page Views >= 'n'. n=1,,3 etc.

In calculated metrics, using 'If' function to apply the segmentation as condition and results as below.

1400263_pastedImage_3.png

Drop your eVar to take the results.

Thank You!

Arun

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Dear Surabhi,

Create a segmentation with Page Views >= 'n'. n=1,,3 etc.

In calculated metrics, using 'If' function to apply the segmentation as condition and results as below.

1400263_pastedImage_3.png

Drop your eVar to take the results.

Thank You!

Arun

Avatar

Level 3

Thank you. I am not sure how do you add per visit combination?

Avatar

Community Advisor

Dear Surabhi,

Create the segmentation condition within Visit Container to attribute.

1401003_pastedImage_0.png

Thank You!

Arun