Does anyone know if you can see if the developer has put the snippet in the correct place? We recently had this done and would like to know it's in the proper place.
It's quite simple to check if the code snippet is present on your website and in the correct place.
To check the code snippet is present simply right click anywhere on the page that you are wanting to run your experiments on. A drop down will appear, select 'View Source Code'. This will load another tab or window that contains the source code.
Use your browsers inbuilt find tool (cmd+F/ctr+F) and paste the code snippet from Optimizely in the find window as the search query. If you have the code snippet on your site the find tool will automatically highlight it for you.
If you place the JS at the bottom of the page it will load right at the very end of the page. This will result in the user seeing your placebo test (the original version) and then instantly being presented an alternate version of the page (one of your variations).
Hope this information helps,
Thank you willegan. This helped a lot. Using your method, it seems the snippet is not there even though we were told it is. Which is maybe why we've seen no change in how slow the RFI loads (a very very long time) or any responsive which it was also lacking before.
I checked the site and it looks like Optimizely isn't installed there. What you're looking for is a line of code that looks like this: <script src="//cdn.optimizely.com/js/12345678.js"></script
But instead of 12345678, it would be your actual project ID.
We recommend implementing the snippet right under your head tag, so yours would look like:
<script src="//cdn.optimizely.com/js/[your project ID].js"></script>
<meta charset="utf-8" />
For more information on the snippet, please read our article about implementing the snippet.
Thanks, and please let me know if that gets you up and running!
Thanks Adam. I got an email from Optimizely saying the snippet had been successfully installed (see attached), but we noticed no difference and then the client asked if we could tell it'd been done.
We've re-contacted the developer. I know the process of putting it in, but I am not the one with access. I sent all the instructions to the developer previously. I only want to see if it's there.