Skip to main content
Question

What happens if i leave my javascript snippet after I end my A/B test?

  • August 16, 2024
  • 3 replies
  • 105 views

Hello, I just ended by A/B test and decided to ‘roll back’ - not use the variant I tested.

However, i can’t remove the javascript from the page header right now due to other reasons. Is this ok?

Will any users be affected, or should I just remove the js script when I can and it’s not really that harmful.

3 replies

eddie.gaona
Team Member
Forum|alt.badge.img+9
  • Amplitude Support
  • 161 replies
  • August 19, 2024
Hello Eve,

Hope you're having a fantastic day!

If you choose to roll back the Experiment, the flag will be turned off and the rollouts will be set to 0%. Even if the code for the variants or the Experiment overall is still in the codebase, users won't experience a variant since it has been turned off. You can find more details in the documentation here.

Hope this helps!

-Eddie


P.S. Checkout upcoming events and user meetups on our events page.

  • Author
  • New Member
  • 1 reply
  • August 19, 2024

@eddie.gaona can you please add that link for ‘here’ in your statement above? thx!

 


eddie.gaona
Team Member
Forum|alt.badge.img+9
  • Amplitude Support
  • 161 replies
  • August 19, 2024
https://amplitude.com/docs/experiment/workflow/experiment-test#what-happens-when-your-experiment-ends


P.S. Checkout upcoming events and user meetups on our events page.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings