Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Analytics Champion Program are open!
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