Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Huge difference: Piwik vs Google Analytics

$
0
0

@Cesar wrote:

Hello,
I'm using piwik (latest version) along with google analytics.

These are the last 30 days on google analytics:

and these are the last 30 days on piwik:

the difference is huge! Why?
I thought it was a problem with adblock, so I did a url rewrite of piwik url, like this:

<!--- Piwik --->
<script type="text/javascript">
	var _paq = _paq || [];
	_paq.push(['trackPageView']);
	_paq.push(['enableLinkTracking']);
	(function() {
		var u="//stats.mywebsite.it/";
		_paq.push(['setTrackerUrl', u+'s/sp.cf']);
		_paq.push(['setSiteId', 1]);
		var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
		g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'s/sj.js'; s.parentNode.insertBefore(g,s);
	})();
</script>
<noscript><p><img src="//stats.mywebsite.it/s/sp.cf?idsite=1" style="border:0;" alt="" /></p></noscript>
<!--- End Piwik Code --->

but I have not solved. Do you have tips for me?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles