Analytics
4K members online now
4K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Google analytics not work with blogger

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello, I would like to use google analytics to blogger.
At first I add the Tracking ID to blogger/settings/other and as an example the real time wasn't work.

Then I attempt to add the complete tracking code to template html before the head closing tag </head> but blogger is change the ' special character to &#39; and still not working.

Example:

<script>
(function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=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,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39Smiley Wink;

ga(&#39;create&#39;, &#39;UA-85812042-1&#39;, &#39;auto&#39Smiley Wink;
ga(&#39;send&#39;, &#39;pageview&#39Smiley Wink;

</script>

 

Any ideas?
Thanks in advance!

 

1 Expert replyverified_user

Google analytics not work with blogger

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭

use GA debugger: https://chrome.google.com/webstore/detail/jnkmfdileelhofjcijamephohjechhna

 

Open site in chrome, press f12, goto console tab

and refresh.

 

Google analytics not work with blogger

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Thanks for reply, here are the results:

plusone.js:15 GET http://fashion-hannah.blogspot.gr/undefined 404 (Not Found)kb @ plusone.js:15(anonymous function) @ plusone.js:43eb @ plusone.js:10O @ plusone.js:10(anonymous function) @ plusone.js:13fb @ plusone.js:13C.load @ plusone.js:13(anonymous function) @ plusone.js:49
www.blogger.com/navbar.g?targetBlogID=1078049975391273421&blogName=Fashion+…arent=http%3A%2F%2Ffashi... Mixed Content: The page at 'https://www.blogger.com/navbar.g?targetBlogID=1078049975391273421&blogName=…e&parent=http%3A%2F%2Ffa...' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://fashion-hannah.blogspot.com/search'. This endpoint should be made available over a secure connection.

Can you help with that issue? Thanks

Google analytics not work with blogger

Top Contributor
# 4
Top Contributor

Hi Veronica,

 

Just add the tracking id to the settings and wait for the data to appear in your reports. It can take up to 24 hours.

Real time is not always reliable.

 

Hope this helps.

 


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Google analytics not work with blogger

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

I do that and was waiting 2 days. Actually I find a way to may this work. I add the full tracking code to a html widget on blogger and it works.

Google analytics not work with blogger

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭

thank you sir