Title: Adding Code to CSS Manager
Last modified: August 21, 2016

---

# Adding Code to CSS Manager

 *  [GroceryGirl](https://wordpress.org/support/users/grocerygirl/)
 * (@grocerygirl)
 * [12 years ago](https://wordpress.org/support/topic/adding-code-to-css-manager/)
 * I would like to add the following code into CSS Manager. My blog is [http://www.therightcardandmore.com](https://wordpress.org/support/topic/adding-code-to-css-manager/www.therightcardandmore.com?output_format=md)
 *     ```
       <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-41988766-2', 'therightcardandmore.com');
         ga('send', 'pageview');
   
       </script>
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 * The code doesn’t seem to work “as is”. What do I need to add to it to get it 
   to work within CSS Manager? Thanks!!!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years ago](https://wordpress.org/support/topic/adding-code-to-css-manager/#post-4986389)
 * You cannot add JavaScript to a CSS manager. That’s just for CSS – not scripts.
   Have you considered using a Google Analytics plugin?
 *  Thread Starter [GroceryGirl](https://wordpress.org/support/users/grocerygirl/)
 * (@grocerygirl)
 * [12 years ago](https://wordpress.org/support/topic/adding-code-to-css-manager/#post-4986408)
 * Okay. (Obviously, I still have a lot to learn.)
 * I’m not sure which Google Analytics plug-in to choose. Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding Code to CSS Manager’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spun/2.0.2/screenshot.png)
 * Spun
 * [Support Threads](https://wordpress.org/support/theme/spun/)
 * [Active Topics](https://wordpress.org/support/theme/spun/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spun/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spun/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [GroceryGirl](https://wordpress.org/support/users/grocerygirl/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/adding-code-to-css-manager/#post-4986408)
 * Status: not resolved