A/B Test - Experience looking different in Target vs On the actual page | Community
Skip to main content
October 19, 2022
Solved

A/B Test - Experience looking different in Target vs On the actual page

  • October 19, 2022
  • 1 reply
  • 751 views

Hello, I was doing some A/B Tests on the website using the Rearrange feature in Target with a 50-50% audience divide. But when I am setting up these experiences in Target they look perfect but when I check the same experiences using QA URLs they are not working.

I also tried injecting a custom script through Target, which solved the problem for a while but after some time it also stopped working. The experiences look right inside the Target Edit experiences window but not on the production page.

Any assistance would be greatly appreciated!

 

Thanks!

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 Perrin_Ennen

Hi @apoorv-jain,
the rearrange feature sounds like you are doing this in the VEC. Are you just using the feature or are you running custom JavaScript code?


To me, most of the time when it works in the VEC or code is executed via the console - but then doesn't work in the with QA link or on PROD - it sounds like a timing issue.

Maybe the test is executed too early and/or you want to rearrange something in a react component that is not rendered yet. Is there something that applies to your case?

 

1 reply

Perrin_Ennen
Community Advisor
Perrin_EnnenCommunity AdvisorAccepted solution
Community Advisor
October 19, 2022

Hi @apoorv-jain,
the rearrange feature sounds like you are doing this in the VEC. Are you just using the feature or are you running custom JavaScript code?


To me, most of the time when it works in the VEC or code is executed via the console - but then doesn't work in the with QA link or on PROD - it sounds like a timing issue.

Maybe the test is executed too early and/or you want to rearrange something in a react component that is not rendered yet. Is there something that applies to your case?