Rich-text Reply

Optimizely wont implement experiemt on url page

Mconnolly862 02-09-17

Optimizely wont implement experiemt on url page

I have an issue for our ecommerce site that we are currently testing on, i changed the show more button of the product page to a different colour but when clicked and the page is scrolled down to the button it changes to the original why is that i have the traffic set to 48% original and experiment 1 to 48% any help would be great.



JasonDahlin 02-09-17

Re: Optimizely wont implement experiemt on url page

[ Edited ]

There is probably a disconnect between what you think youhave set up and what you actually set up.


1- Perhaps you are in the control group therefore you do not see the test's changes? (And, why are you putting 96% of your traffic in the experiment instead of 50-50?  this seems odd).


2- You didn't say whether the experiment is actually running on the page, only that you set it up to run on that page.  Second thing to rule out - the URL targeting may be incorrect - is the experiment actually running on the page?


3- Did you modify the button by injecting CSS or by adding style attributes to the element? 

3a- If you injected CSS, the style may be getting overridden by a subsequent or more specific CSS rule

3b- If you altered the element... perhaps the item you are changing does not actually exit when the code is executed but then exists later (e.g., it is added to the page via AJAX after the page initially loads)

3c- If you altered the element... perhaps there is more than one "show more" element and you are updating the first one, but not the one that is visible.


If you share the URL to your product page and give us the ID of the experiment you are expectign to run, we can usually figure out what is not working (but we need to see the page because there are lots of reasons why something may not work).


--Jason Dahlin
Analytics and Testing Guru Smiley Happy

Experimentation Hero
juliofarfan 02-09-17

Re: Optimizely wont implement experiemt on url page

Maybe your website logic is re creating the button after certain behavior under this condition the changes you made on the load of the page trough Optimizely will be lost in that 2 load of this specific element.

To solve thism you can replicate the class of the button, make the desired changes to that class and finally the change of the button to this new one