Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
aligmz
tagDiv Member

Dear Simion,

I have already tried the things you recommend and it seems that Google Analytics records correctly, but I continue with the problem.

I manage other pages with other templates and the statistic from the post viewer, the hosting statistics and the google analytics are very similar. But with this template I have the post statistics in a wrong way: the post in the page counter viewer and in the hosting statistics are also very similar, but in google analytics are wrong. For example, for the last post I put I have 1191 visitis in the page counter viewer, 1099 visits in the Hosting statistics and only 148 visits in Google Analytics. Furthermore I have the like Facebook in the post and the post has more likes than viewers in Google Analytics. So I know that Google Analytics is not counting correctly but I don’t know where the problem is.

Thanks again,

Alicia

aligmz
tagDiv Member

Dear Simion,

Thanks for your early answer.

Last week I put the code in the way you explain me but I didn’t work correctly. The page has more traffic than the one who says me Google Analytics. I think that the long code is this one:

<script>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’https://www.google-analytics.com/analytics.js&#8217;,’ga’);

ga(‘create’, ‘UA-xxxxxxxx-x’, ‘auto’);
ga(‘send’, ‘pageview’);

</script>

(I have change the numbers with xxx)

Is this the long code? Perhaps I am using a wrong one, but I don’t find anything else.

Thanks again for your help.

Alicia

Viewing 2 posts - 1 through 2 (of 2 total)