Target experience loading before page value is present | Community
Skip to main content
Level 2
January 24, 2024
Solved

Target experience loading before page value is present

  • January 24, 2024
  • 2 replies
  • 822 views

I have an experiment where, upon log-in, 10% of a group of customers will see a new experience. I have a custom audience rule that looks for "hasactivehealthplan" equals True, which is a value that the site applies to relevant customers. However, Target is firing before the website sets this value, so it thinks everyone is an "activehealthplan=False", meaning no one is getting to see the experiment. Is there a way to delay Target so that it waits until "hasactivehealthplan" values are set? I think it's only like a 5 second delay...

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 alexbishop

You would need to make an additional request to Target, after the "hasactivehealthplan" value is available. The challenge with that will be, if you are displaying the experiment content on the same page after the response from Target then you will see some flicker and would need to handle that

2 replies

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAccepted solution
Adobe Employee
January 24, 2024

You would need to make an additional request to Target, after the "hasactivehealthplan" value is available. The challenge with that will be, if you are displaying the experiment content on the same page after the response from Target then you will see some flicker and would need to handle that