Home>

I would like to ask you that the Google Analytics "Inflow from Referrer" count is incorrect in the following environment.

Site A running on Server A
Site B operating on Server B
Site C running on Server C
Site D in operation on Server D

Previously (until around May this year), each site had a direct link to each site.

As the number of sites has increased, management is messy
On server A, we prepared a file with only a link part to each site and made it LINK.php.
Added LINK.php to each site (A, B, C, D) with PHP readfile () function.

You have set up Google Analytics on each site, and each tracking code is embedded just before</head> ;.

When comparing the number of inflows from other sites up to May this year and the number of inflows from May, the number of inflows from other sites has dropped dramatically.
Is the above specification change affected?

For example
The link of the file read by readfile () is only counted as the inflow count from the server with LINK.php (Server A)

  • Answer # 1

      

    Load LINK.php to each site (A, B, C, D) with PHP readfile () function.

    Communication takes a certain amount of time if the servers are separate. So, in sites other than A, it takes time to communicatereadfileand the site is slow. That may also be a factor.

    Note that Google Analytics worksHTML, so

      

    Set up Google Analytics on each site

    No matter how inadvertently shared with other sites, no matter how you generate your HTML, it won't affect your measurements.