Closed (fixed)
Project:
Google Website Optimizer
Version:
7.x-1.4
Component:
Code
Priority:
Major
Category:
Bug report
Reporter:
Anonymous (not verified)
Created:
3 Dec 2010 at 09:10 UTC
Updated:
18 Nov 2024 at 15:47 UTC
When I try to validate my test it only validate 3/4. There isn't a problem with the clean URL.
My code displays in header and at the bodem, but the validation code in the head but not immediately after the opening tag.
A page: http://www.robberechts.be/cube-rolluikkast
B page: http://www.robberechts.be/cube_jaloeziedeurkast
Can someone please tell me how I get the code immediately after the opening tag.
I'm a designer and not very good with code. Sow please talk is small words.
Lot's of thanks - Sanne
Comments
Comment #1
marco88 commentedI think I got the same problem.
Subscribing.
Marc.
Comment #2
marco88 commentedHi there,
I think I spotted the problem:
After replacing footer by header as per above it seems to work and accept the tracker code for A/B too.
Marc.
Comment #3
S Garan commentedWe are using the 6.x-1.3 version of the module and we have the same problem. When we validate the pages, google returns the following messages "Control script not found. Please copy/paste the control script below or return to step 1 to fix the URL.", "Tracking script not detected on variation page" and "Tracking script not detected on conversion page". Drupal does not insert the google code immediately after the opening tag as google has specified. The code is inserted further down in the code. The follow tags are above the inserted code:
head
THIS IS WHERE THE GOOGLE CODE IS SUPPOSED TO BE INSERTED **************************************************
meta ....
title
meta ....
link ...
link ...
link ...
script ....
script ....
script ....
-1){var j=c.indexOf(';',i);return escape(c.substring(i+n. length+1,j<0?c.length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash; d.write('')})(); utmx("url",'A/B'); As a result of this bug, our A/B testing has stopped and we very much need to get this bug fixed. Thanks, SteveTHIS IS WHERE THE GOOGLE CODE IS INSERTED *************************************************************
Comment #4
blaiz commentedSubscribe
Comment #5
bwinett commentedDuplicate of #1000386: How the "control" script is added?
Comment #6
S Garan commentedWhat does your comment mean?? What should I subscribe too?
Comment #7
S Garan commentedWe are having the same issue described in ticket #1000386. And as of April 25th I have not seen a fix for this issue.
Comment #8
AussiePaul commentedHello
I'm using version 7x-1.4 and it seems that the control page still will not validate.
Are the owners of this module trying to fix this.
I seen two ways to get around this fault but one was incompatible with my script and the other was way to complex and information lacking for me to understand.
Also since I upgraded to this current version I now also get an error saying
"An illegal choice has been detected. Please contact the site administrator".
I hope the script writers can remedy this as i am desperate to use google optimizer.
Thank you
Paul
Comment #9
yannisc commentedAussiePaul, could you provide more info?
Have you cleared cache after enabling the test?
Could you provide the site url and/or admin user/pass to my email to check?
Comment #10
AussiePaul commentedHello
The error and website control page are
http://www.glowinthedark.net.au/uv-glow-face-and-body-paint
Control script not found. Please copy/paste the control script below or return to step 1 to fix the URL.
I tried clearing all cache, but it didn't help.
The header part of the script is not where it should be.
Thanks for your help...
Paul
Comment #11
yannisc commentedPaul,
Unfortunately, I cannot replicate the problem. A/B Testing is working for me and Google Website Optimizer validates all scripts.
Are you sure you have the proper setup?
Comment #12
AussiePaul commentedHello
Sorry for taking so long to respond, but have had ISP problems.
Would it help if I uninstall the module, then reinstall the latest version?
Could it be another module causing the problem?
I'm not sure what you mean about correct setup.
Paul
Comment #13
yannisc commentedAussiePaul, I think the problem lies on the way you've put the scripts in the module. Make sure that you follow Google's instructions and that you copy-paste the right scripts in the right places.
Comment #14
AussiePaul commentedOk I figured out the problem.
In the control page is was using the name I called the page for example, for example "products" but when i changed the name of the control page to node/7 the control page was validated.
Anyone else whom has a problem should check to see if using the n/* instead of the page name will work.
Thanks for your input as I really needed this working because i know the importance of website optimization.
Thank you :-)
Comment #15
yannisc commentedI'm glad it worked for you!