4 ms·
I wrote a blog post [0] on using the API for Google analytics to create a filter to block most of the referrer spam. tl;dr for the post is: You setup 2 filters
by ticoombs 10y ago
I wrote a blog post [0] on using the API for Google analytics to create a filter to block most of the referrer spam.
tl;dr for the post is: You setup 2 filters one for the hostname, and one for the language. (The language part is not added yet I'm still writing that update, this is a new spam technique in the last couple months where the data is coming out of Russia)
You then have to create a referrer blocker on your webserver which returns 444 if the referrer contains (list if sites).
I also use piwik personally and have found it's definately lacking compared to GA in what you can do but it is quite adequate for my own personal blog/projects.
Piwik can do campaign, goal and event tracking. Which sounds like it has what you want. You could go for the hosted version and pay X amount if you want someone else to worry about it.
[0] https://blog.slowb.ro/programmatic-blocking-referrer-spam-part-2-the-correct-way-for-seo-companies/ https://blog.slowb.ro/programmatic-blocking-referrer-spam-pa...