Results not registering although code snippet is installed according to instructions
I would need some help. I believe we have correctly installed the Optimizely snippet, but for some reason it has registered only one visit on one of the variants and stopped.
Notice: I have visual website optimizer code installed on the same web site, but this should not be an issue.
The code is installed on the following web site: www.balkaninsight.com
I also noticed that the same snippet is activated twice in the log (see image below).
Can anyone help?
Solved! Go to Solution.
Thanks for reaching out to us with your question!
There are a few things I'd check to see if you've gotten your experiment up and running correctly:
- Do your Audience visitor conditions unintentionally exclude anybody?
- Does the URL Targeting correctly encompass the landing page(s) users access? Feel free to access your webpage and compare that URL with the URL Match Validator tool available within the Optimizely editor! (https://help.optimizely.com/hc/en-us/articles/2000
- Is your Traffic Allocation appropriately set? Ensure it isn't at a very low level where only a small percentage of your traffic would be included within this experiment.
- Does IP Filtering at the project-level exclude any visitors from being counted within the Results page?
Additionally, while Preview Mode is a great tool, we do have some other suggested practices to check whether your experiment is running correctly before setting it to live visitors. You can see that complete list within our knowledge base article: https://help.optimizely.com/hc/en-us/articles/2018
Could you check these settings and let us know how that works? Thanks and feel free to reach back with additional questions!
Manager, Technical Support
@tnosugar - is it possible that you are adding the snippet via a tag manager or similar tool ? I only see the code once in the page source, but I see the snippet loaded 2x in the network events. This seems to suggest that the other, duplicate, snippet is being loaded through a third party system. See the attached network events for reference (you already actually found this when mentioning your preview code)
The fact that your snippet is being added to the page twice is very problematic, but should not prevent your results from showing up. [You should still remove the duplicate snippet to prevent one from overwriting the other]
Perhaps the real reason why you are not getting any traffic is because your targeting is set to http://www.balkaninsight.com, but when I visit that page, I am immediately redirected to http://www.balkaninsight.com/en/page/all-balkans-h
If you can make your URL targeting match the page a visitor will actually land on, then you should be just fine!
Let us know if you have any questions on this.
@Amanda Since I'm a newbie obviously, could you tell me where I can see whether the snippet is loaded once or twice. I came upon that view by chance. Thank you both
That could be it. In any case, you seem to be all set now. Let us know if anything else comes up or if we can help in any other way.