how to setup third party Domain to blogger blogspot and how to setup cname,Google Tag Manager and GOOGLE ANALYTICS
Here i explained about how to setup third party Domain to blogger blogspot and how to setup cname,Google Tag Manager and GOOGLE ANALYTICS
1)***************************** CNAME SETUP ***********************************************
2)******************* google Tag manager ******************************************
paste this code to above <head>
--paste this GOOGLE ANALYTICS code to blogger above </head>
1)***************************** CNAME SETUP ***********************************************
- Name, Label or Host Destination, Target or Points to www ghs.google.com 6jpli4zKGNfhbyzb.tutorialdba.com gv-sqpxHJjnhkpmljrlha.dv.googlehosted.com
2)******************* google Tag manager ******************************************
paste this code to above <head>
<!-- Google Tag Manager 1 --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-57NZ565RJ');</script> <!-- End Google Tag Manager --> <head>--copy this code and paste the below <body>
<body expr:class='"loading" + data:blog.mobileClass'> <!-- Google Tag Manager (noscript) 2 --> <noscript><iframe height='0' src='https://www.googletagmanager.com/ns.html?id=GTM-57NZ565RJ' style='display:none;visibility:hidden' width='0'/></noscript> <!-- End Google Tag Manager (noscript) -->
3)********************** GOOGLE ANALYTICS *************************************
Login blogger-->>setting-->>others and put this tracking id at "Analytics Web Property ID"
Tracking ID UA-91496221-2
<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','ga');
ga('create', 'UA-91496221-2', 'auto');
ga('send', 'pageview');
</script>
</head>
Comments
Post a Comment