Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6607413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:30:02+00:00 2026-05-25T19:30:02+00:00

I am setting up an A/B test with Google’s website optimizer. I have a

  • 0

I am setting up an A/B test with Google’s website optimizer.

I have a page:

wwww.example.com/landingpage

and some variations:

www.example.com/landingpage0
www.example.com/landingpage1
www.example.com/landingpage2

the conversion page is on:

www.subdomain.example.com/goal

Website Optimizer’s wizard interface, is not accepting the goal page because it’s on “a different domain” and apparently there’s no way to proceed with the next step.
However, if I “fake” the procedure, and specify

wwww.example.com/fakeGoalPage

the wizard will allow me to continue the set-up.

What I do next is to put the goal-page code in my real goal page, and hope that the test will work.
My question is if this practice is correct or if you can suggest me a better way to solve this problem..

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:30:03+00:00Added an answer on May 25, 2026 at 7:30 pm

    By default, Google Website Optimizer sets its cookies on the current domain (document.domain). So, the cookies from www.example.com won’t be available when they convert on subdomain.example.com. The solution to that is to follow the instructions from this help center: Customizing Google Website Optimizer code for multiple subdomains?

    Basically:

    First, you add the following line just before your control script:

     _udn = ".example.com"; 
    

    Then you change your tracking and conversion scripts to allow for cross domain cookies.

    Assuming you’re using the async syntax, that means this goes before the gwo._trackPageview.

    _gaq.push(['gwo._setDomainName', '.example.com']); 
    

    (An alternative is to set your goal as a URL on example.com, create that page, and then place the conversion script as the only thing on that page, and include it as an iframe on the conversion page.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am setting up a simple test page in Python. I only have two
I am having a problem with my htaccess. when I use this url www.example.com/test
I am setting up a test version of my website against a new schema.
I'm setting up some goals in Google Analytics and could use a little regex
I have a Silverlight 4 client running on a Facebook page hosted on Google
My website, http://kenthomes.com.au/test/gallery.php , works fine in normal browsers like FF, Chrome, Safari and
Trying to avoid re-inventing the wheel here. I have a Google Web Toolkit page
In order to test some stuff, I've been using the trick of setting a
my program is based on Google's Hello Gallery example: http://developer.android.com/guide/tutorials/views/hello-gallery.html Instead of using images,
I am having issues setting up Google Analytics for my iPhone Application. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.