I am trying to find how I can track google plus clicks in my website for tracking purposes? Solutions not related to google analytics plse?
3 Answers
Solutions also not related to Google Webmaster Tools? Because they do give insight in +1's
I believe its possible now. https://developers.google.com/+/plugins/+1button/#plusonetag-parameters
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">{parsetags:'explicit'}</script>
<g:plusone callback="scPlus"></g:plusone>
<script type="text/javascript">
gapi.plusone.go();
function scPlus(data) {
if(data.state == "on") {
// Do Stuff Here
alert("G+ "+data.href+" +1'd "+data.state);
} else {
// Do Stuff Here
alert("G+ "+data.href+" -1'd "+data.state);
}
}
</script>
According to Google this is not possible as of 8/31/11 at least.
A hacky workaround would be to request the google+ iframe html and then parse the # out.
https://plus.google.com
..?