Project:Google Website Optimizer
Version:6.x-1.3
Component:Miscellaneous
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello,

Thanks for making this module. It looks really handy and in theory easy to use, I'm not sure where I'm going wrong.

I have installed this module and pasted over the required code from Google Optimizer. But when I go to "validate scripts"

They all fail except for the Conversion Script.

I find it very odd that all but one fail. When I go to the page I want to track with optimizer the only code that appears on the page when I view source is for the Optimizer. The other scripts don't seem to be printing to page.

I have tried starting from scratch in Google Optimizer and getting new Java Script code as well as trying different URL input methods.

Not sure if I'm missing one simple thing or if this is a known issue but any assistance would be great!

Thanks!

Comments

#1

***EDIT***
"I find it very odd that all but one fail. When I go to the page I want to track with optimizer the only code that appears on the page when I view source is for the Conversion Script"

#2

I had the same issue but cleared my site cache and they worked. would that help?

#3

Yeah I've tried that a few times along the way, and just again now. I'll revisit this again soon and update the thread. Thanks for the advice / reply! Open to other suggestions :)

#4

Did you find a solution?

I'm having the same problems, and was wondering if you found a solution.

Thanks, in advance, for any help you can provide.

#5

Found a workaround ---

I tried a bunch of things, and wasn't able to get the tags validated for the following scenarios:

- if one of the pages being tested is the homepage
- if you specify friendly url's when setting up the test in the module interface. (you need to use the standard Drupal path's like: node/5)
- if the conversion page is the same as the testing page (e.g. if you're doing a "counting a clicked link as a conversion" type of test).

But, once I did the following things, I was able to get it set up, and Google was able to validate the pages:
- set the testing page as a page other than the homepage
- used standard Drupal paths (like node/3) when setting up the test in "edit test" page of the module
- set the conversion page as something other than your test page.

Whew! Happy to have it set up and working now, so thought I'd share in case this info is helpful to anybody else.

#6

Status:active» closed (fixed)

Thanks Jessla. It looks like you've covered a lot of the reasons why it wouldn't output the conversion code (and therefore not validate in GWO).

I'll close this issue now but I will update the module soon to fix a few of the things you mentioned (ie being able to use path aliases as well).