danieltamy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Google Analytics Code appearing twiceThank you Aaron. Really appreciate your help.
Forum: Fixing WordPress
In reply to: Google Analytics Code appearing twiceIsn’t this related to my Google AdSense account and to its integration with Google Analytics? I read about it here http://www.labnol.org/internet/enable-analytics-for-google-adsense/6029/
Forum: Fixing WordPress
In reply to: Google Analytics Code appearing twiceThank you Aaron. Just had a look in the header.php It was there as well. I have removed it and it now appears once but I have another mention above the main code.
There is this code at some point in the header:
<script type="text/javascript"> window.google_analytics_uacct = "UA-28075990-1"; </script>and then there is this code slightly lower down the page:
<script type="text/javascript">//<![CDATA[ // Google Analytics for WordPress by Yoast v4.2.8 | http://yoast.com/wordpress/google-analytics/ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-28075990-1']); _gaq.push(['_trackPageview']); (function () { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); //]]></script>Is it ok to have it like this?
Thanks again.Forum: Fixing WordPress
In reply to: Adding Social Media Icons to the Top Menu BarBy the way. Here is the code I have in the style.css sheet of my child theme:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Forum: Fixing WordPress
In reply to: Help needed with .htaccess redirectsHere is the pastebin.com link for the code http://pastebin.com/QRVr8bYx