Hidden Google

<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’,’//www.google-analytics.com/analytics.js’,’ga’);

ga(‘create’, ‘UA-41442411-1’, ‘refractivethinker.com’);
ga(‘send’, ‘pageview’);

</script>

PHP Implementation optional
Create a PHP file named “analyticstracking.php” with the code above and include it on each PHP template page. Then, add the following line to each template page immediately after the opening <body> tag:

<?php include_once("analyticstracking.php") ?>

Dynamic Content Implementation optional
Use a common include or template to paste the code above instead of manually adding it to every page
WAP site – for older feature phones optional
If you have a site built for older feature phones with no JavaScript support, or if you cannot use JavaScript for some other reason, you can download the server-side code libraries from Here
google-site-verification: google0674545e05b4c725.html
Share