Competitor pushing fake traffic to my site?

robibrk

Regular Member
Joined
Aug 23, 2009
Messages
321
Reaction score
121
Okay folks, i have installed a week ago analytics to my site, that is starting ranking for medium competition KW in a high competition niche. What i discovered is, that 70% of all my traffic is direct and comes form unidentified source, of course with 0 page views and 0 seconds on the site. I am sure, there a competitor playing a dirty game to reduce my user experience, that my site is providing and as we know this is one of the crucial factors. Since analytics not showing the IP i can't figure out from where is this traffic coming. All filters showing no data, even for the screen resolution, but i had luck to figure out the browser that was used- chrome 40.0.2214.111.

That's all what i have right now. How can i trap his IP? Or there is any other option to block him out from my site?
 
Last edited:
I am using this already, but sames this traffic is not even real and affects only the GA stats. I have researched a lot for this issue in past days. There are as well other referral tricks from some russian guy to trick your GA stats.
 
Does his action increases your bounce rate? Drops in the keyword rankings?
 
you can go through with this site http://mr-eurodisco.com/finance/fake-traffic-in-google-analytics-from-simple-share-buttons-com/ u find a solutions.
 
As someone asked above.. what is the traffic doing - is it affecting your bounce rate badly?
 
It is very simple thing to do with PHP, even basic login would do a job.


- Make a folder Logs
- Make a file logger.php and save this code inside

Code:
<?
$log="log.txt";
$ip = $_SERVER['REMOTE_ADDR'];
$cookie = $_SERVER['QUERY_STRING'];
$rem_host = $_SERVER['REMOTE_HOST'];
$rem_port = $_SERVER['REMOTE_PORT'];
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$rqst_method = $_SERVER['METHOD'];
$file = fopen($log,'a+' ) ;

echo fwrite($file, "IP: $ip \nPORT: $rem_port \nHOST: $rem_host \nAgent: $user_agent \nMETHOD: $rqst_method \nCOOKIE:  $cookie \n\n" ) ;
fclose($file);
?>


Script will make text file with logs. You can //uncomment lines that you don't need.

To include script, put it in header of all pages that you want to track, or if you use some content management system put it in header, or main file that is included in each page (for example, in wordpress you can include it in wp-blog-header.php)

- Folder Logs put in the root of domain folder (for example, if you use wordpress put the folder Logs where the wp-admin, wp-content, wp-includes are located)
- If you use wordpress, open file wp-blog-header.php in good text editor and include next code in very first line, immediately after <?php :


Code:
<?php
require_once $_SERVER['DOCUMENT_ROOT'].'/Logs/logger.php';


refresh page few times, open the folder and inside should be text file with logged details.
 
Back
Top