Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Profile Script - Frequency setup for each experience

Avatar

Avatar
Validate 1
Level 1
MA1985_CG
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
MA1985_CG
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
MA1985_CG
Level 1

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)