Expand my Community achievements bar.

Profile Script - Frequency setup for each experience

Avatar

Level 3

Hi,

 

My requirement is to show each experience only for 3 times. Once user seen 1st experience as per the order show 2nd experience and so on.

I understand that we can use below script for frequency but this would work based on mbox name but looking option at the experience level Any thoughts?

mbox_location1 - experiencename_1

mbox_location1 - experiencename_2

 

var frequency = user.get('frequency') || 0; if (mbox.name == 'mbox_location1') { return frequency + 1; }

 

we are recording experience name value in Adobe Analytics but as per my understanding we can't use data layer value in profile script.

1 Reply

Avatar

Level 1

Hi MA1985_CG, 

 

Was you able to solve this anyhow? I'm having the same 'issue' here, trying to figure out how to do.