Optimizely and Drupal
Does anyone know how to integrate optimizely and Drupal?
Im having a hard time testing anything other than the content of the webpage, since drupal does all the formatting.
Any help woul be great.
However, unlike Google Analytics, where you place the code snippet on every page of your website, Optimizely only needs to be placed on your test pages and variation pages. If you place the snippet in your template header tag through the Drupal template section you will cause your website to load the Optimizely tag on every page.... every... single... page...
Loading any external content when you render a web page takes time, your browser has to wait for your request to travel to the server in question, find the file and then travel all the way back. If you have any un-necessary external JS files, your site will go slow. Obviously, this will also impact your conversion rate (slow sites always convert poorer than fast ones).
So, you have two options:
- Use the native extension that's available for drupal (https://drupal.org/project/optimizely) - preferred
- Simply paste the optimizely code in the code view of your WYSIWYG editor for the pages you want - bad practice, but works
Hope this helps,