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

  • Home
  • SEARCH
  • 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 8305135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:00:52+00:00 2026-06-08T18:00:52+00:00

First of all let me quickly run-down my setup for you. We have multiple

  • 0

First of all let me quickly run-down my setup for you. We have multiple domains and for that reason I use tracking code which sends the traffic to 2 different profiles at the same time. One profile tracks that specific domain, and the other is a multi-domain profile which collects data from all the domains. This is what the tracking code looks like for the pages on my domain. The UA-XXXXX-11 is the multi-domain account:

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-1']);
      _gaq.push(['_setDomainName', 'none']);
  _gaq.push(['_trackPageview']);
      _gaq.push(['t2._setAccount', 'UA-XXXXX-11']);
  _gaq.push(['t2._setDomainName', 'none']);
  _gaq.push(['t2._setAllowLinker', true]);
  _gaq.push(['t2._setAllowHash', false]);
  _gaq.push(['t2._trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

My problem is that I want to use the Content Experiments function in GA, but I’m not getting any data. First I tried setting the experiments up inside the multi-domain account. Everything validated perfectly, and the page-switch functionality works It also parses utm_expid and utm_referrer to the URL, so it seemed to be working. However no data showed up for 8 days.

So I read up on what the problem might be and found (here: https://productforums.google.com/forum/?fromgroups#!topic/analytics/9ogbbQPZFpk) that people were experiencing the same problem when using setAllowLinker and setAllowHash.

I removed those methods from the regular profile’s tracking code (the UA-XXXXX-1 above. It used to have SetAllowLinker and SetAllowHash aswell) and set up a new content experiment. This time not in the multi-domain profile but in the regular one.

Again, everything validated perfectly, the page-switching is working, and it’s parsing utm_expid and utm_referrer to the URL.

However, I’ve waited a bit more than 20 hours now and I’m still not seeing any visits in the experiments. It says “Collecting data”, and says “20 hours of data”, “0 visits”.

What is causing this? My only thought now is that the t2.-methods for the multi-domain profile might be screwing this up. This seems unlikely though as these methods have totally different names than the methods called by the regular profile. That profile shouldn’t even notice that those are being used for the multi-domain profile, right?

  • 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-06-08T18:00:53+00:00Added an answer on June 8, 2026 at 6:00 pm

    So i managed to finally find some info regarding this.

    If you’re using setDomainName, setAllowHash false, and/or setCookiePath you’ll need some extra code just before the Experiments code.

    _setDomainName(‘example.com’); requires _udn=”example.com”;

    _setAllowHash(false); requires _uhash=”off”;

    _setCookiePath(‘/’); requires _utcp=”/”;

    This should be added just before the Google Analytics Experiment code as such:

    <script>
    _udn = "example.com";
    </script>
    <!-- Google Analytics Experiment code -->
    ... Contents of the experiment code ...
    <!-- End of Google Analytics Experiment code --> 
    

    Hope this helps someone else.

    Source:
    http://support.google.com/analytics/bin/answer.py?hl=en&answer=2658141

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

Sidebar

Related Questions

First of all let me tell you that i have read the following questions
First of all let me say thank you to everyone that offered answers...I have
First of all, let me clarify that I know you cannot have actual abstract
First of all let me explain that I have searched for at least an
First of all let me apologize for the wall of code. Basically, I have
First of all, let me say that I am not a professional coder -
I have some query. First of all let's have an iPhone application flow which
First of all let me tell you one thing that I am posting this
first of all please let me say that I am quite new to objective
first of all let me say that I know about dynamic, no PIA, named

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.