Back in the days when you are in College, remember the professor are always able to pull out students whom are copying work from each other? You may wonder how the professor do it. The answer is simple, coz there are always trails or indication of copycat. People whom copy work from each other will always result having the same / similar mistake.
Normally I do not pay too much attention to my blog analytics, I only look into certain things here and there. Recently Google Analytics had rolled out new social report and hence from my Dashboard I'm able to see a Social Action panel, which look something like below.
At first I was a bit surprise, how comes there are some Arabic Characters from my Social Action and I had to admit I didn't pay any attention to this due to busy schedule. Instead of looking into things I just went straight to my Analytics Reports to observe some general traffic info.
Earlier today I finally got sometime and would like to update some settings and clean up some code from my blog, then I start digging up abnormal stats within my analytics data.
When I look deeper into the Social Report from Google Analytics I found out a funky URL that's not even within my domain. That's how I found out someone in somewhere is doing something they should not be doing. Copying codes directly from one site to theirs without updating some important information.
The next thing I did was to look up this link and take a look at this site. It links to an article page of an Egyptian Wheel Weekly News site, within the article I see something very familiar and that's the
addthis sharing widget that I had on my blog.
A quick peek into the coding and I found out something very very interesting.
 |
| Code Snippets from the other site |
Above is a code snippets of AddThis Sharing buttons configuration from that site. First few lines basically declares which social sharing buttons to be displayed and the line begin with var addthis_config is where the addthis configuration being set.
AddThis has a feature that allows user to hook up the service with Google Analytics, which can be very useful, the funky part from the above snippets is where the number begins with "UA-". That number is an unique ID for a Profile under Google Analytics account and that number look very very familiar.
A quick comparison to my blog's and I found out someone had been copying code from my blog.
Another quick peek to this site Google Analytics declaration code, I am even more sure some programmers simply snag the code out from my blog and didn't bother to change some important information, the Google Analytics ID that hooks up to AddThis.
 |
| Comparing the Google Analytics ID from above, I know something went wrong |
The Problem: Since my Google Analytics ID was hooked up to another site's Addthis code, that means all addthis social data from the other site is now ported to my Google Analytics traffic data and hence my data is tempered
In another hand, the other party also missing a lot of their social data and will find out their Google Analytics data did not match up with their AddThis analytics data.
Once I found out the above I immediately fire off an email to their general info@ email and hopefully someone will look into the problem and patch it up.
Personally am not against anyone copying code from my blog (provided I did some customization on it), however if you do copy it, ensure you change the code to proper values instead of leaving a mess like this. One interesting I found out, there are always trail to find out someone is copying things from one another. What I hope is this is the only sole case and hopefully it will not happen to anyone anymore!