Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
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