Google Analytics #2 - Post ID 233826
Hi can you please advise if my web site built in VSD supports Google Analytics code?
It is currently not working so just wanting to check. Thanks, Adrian
<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-51598785-1', 'wwgolfinc.com');
ga('send', 'pageview');
</script>
It is currently not working so just wanting to check. Thanks, Adrian
<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-51598785-1', 'wwgolfinc.com');
ga('send', 'pageview');
</script>
Hi Adrian,
It should work. Where did you place the code?
Hit
ctrl + alt + g
Place the code in the window that pops up if you haven't already.
It should work. Where did you place the code?
Hit
ctrl + alt + g
Place the code in the window that pops up if you haven't already.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Hi Eric,
wwgolfinc.com is the web site. Page is index.html.
Inspecting the page source in the web browser, I placed the code before </head> tag.
Thanks,
Adrian
wwgolfinc.com is the web site. Page is index.html.
Inspecting the page source in the web browser, I placed the code before </head> tag.
Thanks,
Adrian
Are you altering your page outside of VSD?
Use the Web analytics tool provided by VSD and it should work.
ctrl + alt + g
Use the Web analytics tool provided by VSD and it should work.
ctrl + alt + g
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Hi Eric,
I have used VSD. This is the code inserted by VSD into the index.html page:
<!-- Website Analytics Code -->
<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-51598785-1', 'wwgolfinc.com');
ga('send', 'pageview');
</script>
<!-- End Website Analytics Code -->
Google Analytics has complained that tracking is not installed?
Thanks,
Adrian
I have used VSD. This is the code inserted by VSD into the index.html page:
<!-- Website Analytics Code -->
<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-51598785-1', 'wwgolfinc.com');
ga('send', 'pageview');
</script>
<!-- End Website Analytics Code -->
Google Analytics has complained that tracking is not installed?
Thanks,
Adrian
Try placing it in a html box then place it near the bottom of your page off to the side to keep it out of the way.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I think that worked Eric, thank you!
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.