Segmentation Based on Last Viewed Content | Community
Skip to main content
chrisp74392005
New Participant
June 14, 2019
Solved

Segmentation Based on Last Viewed Content

  • June 14, 2019
  • 13 replies
  • 7720 views

I'm pretty new to Adobe Analytics but I do have some knowledge of setting up segments based on logic.

I'm trying to create a segment based on users who had input certain criteria into my (v1) events AND it was the last thing they did before they left the site.

To put it in context, we have a travel site and after a user inputs their destination of choice, we want to be able to target those users based on the LAST destination they viewed. Since its likely they have browsed around on the site looking at other locations, we want to make our segments very specific for what they last saw.

I already have the segments created for those specific locations based on my (v1)'s, but I'm just having a hard time figuring out how to make the logic only show that this was the LAST destination they inputted before leaving the site.

Any help would be greatly appreciated!

Thanks,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Urs_Boller

asheeshp​ can you use the metric "exits" with an eVar within a segment? never tryed...

peekchris83​ if it does not work with the "exits" metric I can think of 2 solutions:

1) use a prop which has a "exit dimension" by default. but be aware that this is based on a visit (not visitor), means you need to segment on the last visit)

2) try using a "sequential segment" like this

"hit container" where {

  "visitor container (exclude/sequence before)"

   where "v1 exists" then "v1 exists"

AND

  "v1 exists"

}

what it does: the inner visitor container selects all visitors who had 2 "v1" occurencies, but only select the hits until the first hit of the last match (so it leaves out the last "v1" occurency). if you exclude this inner container you get visitors who a) had 2 occurencies but only hits with and after last occurency AND b) all visitors not matching the sequence! thats why you need to add the additional "hit-container" so you only receive hits where v1 exists.

hint: more about sequential segments here: https://docs.adobe.com/content/help/en/analytics/components/segmentation/segmentation-workflow/seg-sequential-build.html

remark: I don't know if you can use this segment outside of analytics workspace since it uses the "then condition". if you want to use it outside, have a look at the right side when creating the segment: below the "preview circle" you have a note in which tools you can use the segment

13 replies

New Participant
June 21, 2019

Hi @@peekchris83​,

Don't you have an eVar setup for "Destination" which uses the last allocation and expire on a visit?

You can set up multiple segment on visit-container and assign value for your every destination.  This will give you a logical group of audience based on their last destination of choice. But you have to create many segments as per my solution.

Regards

Lalit

Urs_Boller
Urs_BollerAccepted solution
New Participant
June 21, 2019

asheeshp​ can you use the metric "exits" with an eVar within a segment? never tryed...

peekchris83​ if it does not work with the "exits" metric I can think of 2 solutions:

1) use a prop which has a "exit dimension" by default. but be aware that this is based on a visit (not visitor), means you need to segment on the last visit)

2) try using a "sequential segment" like this

"hit container" where {

  "visitor container (exclude/sequence before)"

   where "v1 exists" then "v1 exists"

AND

  "v1 exists"

}

what it does: the inner visitor container selects all visitors who had 2 "v1" occurencies, but only select the hits until the first hit of the last match (so it leaves out the last "v1" occurency). if you exclude this inner container you get visitors who a) had 2 occurencies but only hits with and after last occurency AND b) all visitors not matching the sequence! thats why you need to add the additional "hit-container" so you only receive hits where v1 exists.

hint: more about sequential segments here: https://docs.adobe.com/content/help/en/analytics/components/segmentation/segmentation-workflow/seg-sequential-build.html

remark: I don't know if you can use this segment outside of analytics workspace since it uses the "then condition". if you want to use it outside, have a look at the right side when creating the segment: below the "preview circle" you have a note in which tools you can use the segment

Asheesh_Pandey
New Participant
June 21, 2019

Hi,

Adobe analytics has a default metric "Exits" to solve that. more details about Exits.

Thanks,

Asheesh