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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:03:03+00:00 2026-06-14T15:03:03+00:00

Currently my site – let’s call it www.mydomain.com and it uses Google Analytics. The

  • 0

Currently my site – let’s call it http://www.mydomain.com and it uses Google Analytics.

The site is UK based. We also have a mirror USA-based site on the same server, same domain – http://www.mydomain.com/us/, which uses a different Google Analytics ID.

Technically if some visitor comes to our UK site and if his IP address belongs to USA we would like to simply redirect the visitor to our US site by calling a PHP header location, i.e.

header("Location: www.mydomain.com/us/");

If this happens, then we are not sure what happens about GA “traffic” records on the site.

For example, on Google Analytics, if Visitor A types http://www.mydomain.com on their browser and goes to the site, then this is DIRECT TRAFFIC.

If we redirect them to http://www.mydomain.com.com/us/ it is still direct traffic.

If visitor B finds our site on Google search results, and clicks the search result to come into the main site, then it is ORGANIC TRAFFIC. However, if we redirect visitor B to the US site, I am not sure how Google Analytics in our US site treats this.

My questions are

  1. Does it treat the customer as ORGANIC or DIRECT traffic for Visitor B?

  2. If someone comes in via natural search engine rankings and gets redirected by us to the US site, I want them to be classified as organic traffic. How can I ensure that this happens?

  3. General question about bots – we plan to redirect based on the user’s IP. How can we avoid clashing with Google’s IP so that Google (or any bot) can view our UK and US sites without any redirection from my code?

Some suggestions would be highly appreciated.

Many thanks!

  • 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-14T15:03:05+00:00Added an answer on June 14, 2026 at 3:03 pm
    1. The redirect will have as referrer your old page. So I’m pretty certain that GA would count it as an in-site link, however you have them named in GA.

    2. This is the reason why you ideally would want to avoid doing sneaky redirects. Give your clients/visitors a choice instead of forcing them through a site – most websites tend to do this. What if I have an IP address from the US but am effectively from the UK due to a very small sub-range belonging to an UK-US ISP?

    3. You’ll need to map the IP ranges for the bots. Not an easy task.

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

Sidebar

Related Questions

I currently have a site which uses a MySQL 4.x schema, the site uses
My site currently uses http and https sections based on the data being collected
I am currently developing a site and have a need for a javascript-based carousel/slider
Our client's site currently uses forms authentication, so users have to go to the
Let my site be http://cars.com I have links on my site, to http://girls.com ,
My site is currently using: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd> However,
I am currently developing a site for a client which uses the JQuery cycle
I am currently building a site and all the books I have read on
I have a wordpress site that is currently running in a subdirectory of my
On my site (currently PHP5, wordpress 2.8.5) I have a lot of categories total=150.

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.