Lost click event after editing input button with optimizely
I have edited an input text's value using optimizely, but realized later that it removed click event. Is there a way to revoke it? I have made many changes using editor & JS, so can't startover again.
Is it possible to get the original element with click event of just one element.
Thanks a lot!
When adding a click event to your selected element, changing the styling of your element should not effect the click event.
However you can test if your click event is working in a "live" environment by using the force variation parameter, then checking in your browser console under the network tab and looking for the n parameter.
The n parameter should match the name of the click goal you created.
Learn more about troubleshooting your goals here.
Learn more about using force variation parameters here.
Also check out this article to learn more about checking your tracked elements.
I hope this helps!