Profile Script - Frequency setup for each experience

MA1985_CG

01-07-2020

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.

Accepted Solutions (0)

Answers (0)