Hi chrizzlefizzle,
there is currently no direct Google Analytics support. You could of course write a little piece of JavaScript that triggers a GA event evertime a button is pressed to record every click on a share button. Since I’m not an GA expert in any way, I cannot provide a solution for this myself right now. There hasen’t been much demand for GA support since the share counts are a little bit more meaningful and cover the same information for the most part.
Of course, if anyone comes up with an easy addition in regards to GA for our plugin, we will happily incoporate the code and add an optional setting to our plugin to use it.
Cheers,
JP
Hi JP,
thanks for the quick reply!
Can you tell me in where to find the place where the URLs are built? Maybe I can try to add some code with a functionality plugin…
Best, chrizzlefizzle
Hi chrizzlefizzle,
I’ll look into this matter on the weekend, probably on Sunday, and let you know, if we can implement something or at least how you could get started.
JP
Hi chrizzlefizzle,
so I’ll looked into this. The urls are generated in the shariff.js. The only problem is, that we are going to change this in the near future, therefore it wouldn’t make much sense to change something there right now. I’ll put the whole Google Analytics thing on my to-do list, but it will only be implemented after the next major release, when we changed the way how the buttons are generated.
Of course you could always figure something out to track all outbound links, which include the share links. There are some examples on the web how to track outbound links with Google Analytics by adding a small JavaScript.
JP
OK, thank you, JP. That sounds great!