knightoftheoldcode / knightoftheoldcode.github.io-old

Jekyll source code.
https://knightoftheoldcode.com/
MIT License
0 stars 0 forks source link

Fix referrer spam in Google Analytics #10

Open ghost opened 9 years ago

ghost commented 9 years ago

Stupid rassen-frassen...grr...

Figure out the best ways to fix this and write a series of posts. This will eventually be incorporated into one of the books.

ghost commented 9 years ago

Find Referrer Spam

Find all domains that aren't yours (or in which you haven't added your UA code to). These are referral spam. (Sorry)

Find valid domains

Find all valid domains you own and also anywhere you've added your UA code (shopping carts, payment gateways, social sites, etc).

Create a simple regex from this.

yourdomain.com|otherdomain.com|translateservice.com|yourshoppingcart.com|otherservice.net

Add Views and Filters

(checking my views before I add the instructions)

ghost commented 9 years ago

This appears to be running correctly, draft up an article and post it, properly categorized.