Closed (duplicate)
Project:
Google Analytics
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Jul 2012 at 04:35 UTC
Updated:
19 Jul 2014 at 17:31 UTC
Jump to comment: Most recent
Comments
Comment #1
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 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 commentedThe old website optimizer is not available anymore. Google experiments is the new and only available testing tool by google.
Comment #5
kepford commentedAnyone working on a module for Google Content Experiments? I may be interested in collaborating.
Comment #6
Nimo commentedsubscribing
Comment #7
hass commentedComment #8
Webster619 commentedThis would be awesome. Subscribing.
Comment #9
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 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 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 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 commentedI think we can implement this with context module integration at it's best.
Someone willing to sponsor this?
Comment #15
hass commentedClosing in favor of the referenced case.