This is a clean install of 1.4.8.
The code provided by Google is rendering at the bottom of the page. I simply pasted the Google code in the provided box on the module edit page and enabled the module.
http://izabelladesigns.com/index.php
Thanks for your help.
Mate I checked the code in the page. Some how the rendering not right. Did you copy the code directly from the Analytics ? Its not what it should look like btw !
As far as I see there might be issue with your copying or problem with template rendering. You can start here i suppose.As mentioned, the analytics code you have looks wrong... you have HTML entities in there instead of the <, > and " characters... as a result, the browser doesn't see them as tags and just stuff it all on the page.
It should look like this in the source :
It should look like this in the source :
Code: Select all
<script type="text/javascript">
...
Code
...
</script>
--
Tim
The script tags are in place in the back end and being converted to HTML entities when rendered by the browser. To be sure, I pasted the code into a plain text document and then copied and pasted again with the same (undesirable) results.
Here's the code;
There must be a simple explanation...anyone?
I uninstalled the module and pasted the code into the header.tpl file...badda-boom...badda-bing!
Here's the code;
Code: Select all
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19244135-5']);
_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>
I uninstalled the module and pasted the code into the header.tpl file...badda-boom...badda-bing!
Might be something to do with your template did you build it yourself or purchased it from some where ?
I have never seen this before we support several carts all from 1.3.7 right up to latest ! I have a strong feeling it might be to do with your "Scroll Back to Top" functionlity but I might be wrong.
Cheers
I have never seen this before we support several carts all from 1.3.7 right up to latest ! I have a strong feeling it might be to do with your "Scroll Back to Top" functionlity but I might be wrong.
Cheers
I purchased it from the Opencart Store.kedgetech wrote:Might be something to do with your template did you build it yourself or purchased it from some where ?
I tested the "Scroll Back to Top" script and it isn't the culprit.kedgetech wrote:I have a strong feeling it might be to do with your "Scroll Back to Top" functionlity but I might be wrong.
I'll query the template developer for an answer.
Thanks
Who is online
Users browsing this forum: No registered users and 218 guests