Regular expression help
Our URLs are in the form: https://scheduler.bookedin.net/bam/customer/[custo
We want to set up an experiment for the billing page and are using this regex:
This matches the page we want in the URL match validator for the most part but fails when it's in preview mode like so:
Are you actually seeing a problem with the experiment not firing when you expect it to?
As far as I can tell that regex is correct. My guess would be that there is just a problem with Optimizely url match validator.
Yes, I'm having trouble with the experiment not firing but after investigating, I think it's unrelated to the URL matching. We're using GWT which I think is interfering with the experiment. Was going to ask that as a separate question.
As it turns out, it's not specifically the ? that causes the validator troubles, it's the ?optimizely_ part. If I delete any character in that section, the validator says it matches so I think there might be some specific code that looks for this in the URL in the validator.
Is the issue that the experiment does not fire on the page or does not fire in the preview? Can you also give more information as to why you think Google Web Toolkit is causing a conflict?
There are many reasons why you might not see an experiment firing on your live site and these can range from the snippet not being installed on the page, the wrong project snippet being installed on the page, the traffic allocation being set to zero, timing issues causing the experiment to look like it is not running when actually it is and so on. From the information you're provided, it's hard to say what the underlying reason is.
Perhaps you could supply the experiment ID for me so that I can take a look for you?
The app requires a log in so the experiment ID will only get you so far. I'm in contact with Aisha on your support team on this issue.