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 6981379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:09:00+00:00 2026-05-27T18:09:00+00:00

last friday we switched our website, www.ourweb.com tracking from single domain to one domain

  • 0

last friday we switched our website, http://www.ourweb.com tracking from “single domain” to “one domain to multiple sub-domains”, to track both http://www.ourweb.com and blog.ourweb.com
so i modified the code on the site:

<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </script>
  <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-1594022-3");
    pageTracker._trackPageview();
</script>

to (note we used traditional snippet before):

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12345-1']);
_gaq.push(['_setDomainName', '.ourweb.com']);
_gaq.push(['_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);
  })();

but over last few days, site reported almost double returning visitors drop! from stable 7 000 down to 4 000

only returning visitors number changed that much, new visitors number keeps being similar (around 10 000)

i read this http://www.roirevolution.com/blog/2011/01/google_analytics_subdomain_tracking.php

and they write there that “The leading period causes cookie resets.”. is that the reason of such big visitors drop? should i remove the leading period? and if not, what else could be the reason?

ps. i just noticed that probably it’s referrals only problem. amount of visitors from referrals decreased from 4000 to around 700 per day after change.

  • 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-27T18:09:01+00:00Added an answer on May 27, 2026 at 6:09 pm

    visitors drop happened because there was no straight redirect between ourweb.com and http://www.ourweb.com

    ourweb.com was displaying same site as http://www.ourweb.com, but with all links pointing to http://www.ourweb.com, and all 3000 return visits drop came from self referrals.

    thus cookies were split between those two sites and created fake unique return visits (each time visitor visited ourweb.com and clicked f.ex. link to about.html, he was going to http://www.ourweb.com/about.html, so ga counted it as two independent unique return visits)

    so basically reporting was wrong before and became more accurate.

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

Sidebar

Related Questions

Last Thursday we just released a new version of our website. The big change
Last night I got completely hosed by a worm from Dilbert.com (so be careful
Possible Duplicate: How to get date of last Friday from specified date? Using java.util.Calendar
Last Friday where I work, an oracle client was upgarded and our IIS server
I want an excel formula to return friday dates for last year starting from
Last year I developed a data access service for our project using Entity Framework
Last evening I did some housekeeping on our code repository - basically moved the
After last Friday's announcement, I'm just getting around to reading about the Silverlight 3
I'm having this problem last Friday when I'm trying to build my project to
I'm looking for an Excel function to return the last Friday in a month

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.