Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello,
Google Website Optimizer was merged into Analytics under Content Experiments.
Would be great to be able to paste content experiment code via this module onto tested pages. Currently, extra js needs to be inserted after the head tag of the original page.
Comments
Comment #1
yannisc CreditAttribution: yannisc commentedThis is indeed something that would be very useful. Now, you have to add some custom code on your html.tpl.php file in order to accomlish this. I have posted an article on Drupal Planet regarding this: http://www.netstudio.gr/en/blog/how-use-new-google-content-experiments-a...
Comment #2
Jurjen de Vries CreditAttribution: Jurjen de Vries commentedShould be great, please also make this available for 6.x
Comment #3
achtonThe old API is supported via the Google Website Optimiser module. There should be basis for keeping the functionality over there, or?
Comment #4
yannisc CreditAttribution: yannisc commentedThe old website optimizer is not available anymore. Google experiments is the new and only available testing tool by google.
Comment #5
kepford CreditAttribution: kepford commentedAnyone working on a module for Google Content Experiments? I may be interested in collaborating.
Comment #6
Nimo CreditAttribution: Nimo commentedsubscribing
Comment #7
hass CreditAttribution: hass commentedComment #8
Webster619 CreditAttribution: Webster619 commentedThis would be awesome. Subscribing.
Comment #9
Morris Singer CreditAttribution: Morris Singer commentedI've created a very rudimentary pass at this in just a few hours. It basically works in a very minimalistic way, with some bugs, and would love for those who are interested to help take some steps toward making this into a respectable module. I'm a little rusty in Drupal, myself, having done a lot more work in Wordpress, Rails, Sencha, and other frameworks as of late, but I needed this functionality in a Drupal project. http://drupal.org/project/content_experiments.
A note: pasting content experiments code into the node form creates a security issue because to make use of that, you'd have to run tainted code in the header of your website's pages. So, I set up the module to accept an experiment ID from Google. You paste that, and the module generates the JS.
Comment #10
JordanMagnuson CreditAttribution: JordanMagnuson commentedTricky issue. The problem is that the original page to experiment with may not be a node page...
Ideally this could be configured purely via paths (or path aliases). e.g.:
And then this module would take care of inserting the proper script on the proper page.
Comment #11
lsolesen CreditAttribution: lsolesen commented@JordanMagnuson I've created an issue with Morris Singers project #2049895: more useful with paths
Comment #12
nonsieYou can also achieve this using Context - https://drupal.org/project/content_experiments_context
Comment #13
sandykadam CreditAttribution: sandykadam commented@lsolesen Thanks for your patch. Your solution is working very good, it has solved my problem. Hope to get it merged soon in module.
Comment #14
hass CreditAttribution: hass commentedI think we can implement this with context module integration at it's best.
Someone willing to sponsor this?
Comment #15
hass CreditAttribution: hass commentedClosing in favor of the referenced case.