Google analytics script disapearing

Discuss Search Engine Optimization in relation to Joomla! 2.5. This forum will also have discussions on SEF/SEO Joomla! 2.5 extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
davesavill
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Thu Jun 23, 2011 8:13 pm
Location: Cheltenham
Contact:

Google analytics script disapearing

Post by davesavill » Fri Nov 28, 2014 5:05 pm

Hi everyone,

has anyone ever seen this before at the top of the page?

http://www.silksofcheltenham.co.uk

im entering the google analytics code as a script into the "theme parameters" in the backend

<script> and </script> are there

but when i hit save <script> and </script> just disappear from the code

has this ever happened to anyone? how do i stop <script> and </script> from disappearing?

thanks

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4025
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

Re: Google analytics script disapearing

Post by itoctopus » Fri Nov 28, 2014 5:25 pm

Which kind of editor are you using? It's the editor that usually strips out the code. If you're using JCE you can allow for JS scripts by modifying the default profile (under the "Advanced" section if I'm not mistaken).
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter


Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 2.5”