I am showing the pop-up on Experience Targeting activity. I want to show this popup one time in a session, so I have used the below profile script as user_freq,
Then use this scripts in audience attributes, the condition is user_freq < 2. But its not working properly, the popup showing again and again in a same session.
表示
返信
いいね!の合計
Hi @jayasekar In this case, the profile script alone won't work. You need to handle the logic for pop up to shown once. this you can do either setting up the flag for popup in session or in a cookie.
表示
返信
いいね!の合計
Thank you for the reply!
Is it possible to control the popup shown using the profile script?
表示
返信
いいね!の合計
HI @jayasekar Yes its possible but it completely depends on your use case.
For ex.
IF you're showing popup experience on page load once per session then it works however if you're showing this in middle of the journey then may not be good fit.
Also if this you're trying with SPA then profile script alone won't work here. You need to use logic at client side with Target param ..
So could you please elaborate your use case and how your Target has been setup?
表示
返信
いいね!の合計