Help with Analytics

morfiusx56 Jul 09, 2012 02:25PM EDT

Analytics doesn't seem to be working for my site. I have had AddThis installed for almost a week, and have had many shares. However, I don't see any data in for analytics.

My Site: http://iloveskydiving.org
My Header Code:
<script type="text/javascript">
var addthis_config = {
data_ga_property : 'UA-19517610-1',
data_ga_social : true,
data_track_addressbar : true
};
</script>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#async=1#pubid=ra-4ff1c3e12e02282e"></script>

Notes:
This is a Wordpress based site using manually inserted code (for greater control and flexibility than the plugin can provide). The live site is using W3 Total Cache, so the source is minimized.

Could some take a look to see what I may have missed?

Thanks in advance.

1 Community Answers

Paul Jul 10, 2012 03:18PM EDT

You're not using the async and pubid options correctly. Change this:

<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#async=1#pubid=ra-4ff1c3e12e02282e"></script>

To this:

<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#async=1"></script>
<script type="text/javascript">
var addthis_config = addthis_config||{};
addthis_config.pubid = 'ra-4ff1c3e12e02282e';
</script>


This question is closed to new answers.

Still need help?


General Topics

 

Developers