[HOW-TO] Add Google Analytics Code to Clip-Bucket

Written by Richi González Monday, 10 January 2011

Hello,

I’ll teach you the way to add Google Analytics code to your CB site.

Difficulty level: Very Easy

Generate your code from the Google page.

1. Open footer.html, which is located in ./styles/{YOURTEMPLATE}/layout/*.

2. Copy paste your code before the </body> tag and between the {literal}{/literal} tags.

THAT’S IT! =D

Your code should now look like this:

{literal}
Google Analytics code goes here
{/literal}
</body>

If it is not done this way, it will cause the script to fail. I hope this was helpful!

Best Regards,

Richi

Looking for quality Clip-Bucket hosting? Try out Arvixe and you won’t be disappointed.


8 Comments

  1. videostr   |  Tuesday, 14 June 2011 at 3:20 am

    very thank you.
    i tryed and everythink is ok.
    best regards.

  2. videostr   |  Sunday, 31 July 2011 at 11:22 pm

    ohh. thank you guys.
    analytics is the best app for check site’s

  3. swagg   |  Thursday, 15 September 2011 at 9:27 am

    i don’t see this anywhere in the footer.html file

  4. Girvar   |  Tuesday, 27 December 2011 at 8:04 am

    find body.html under styles/YOUR_THEME/layout/, and paste the code above tag

  5. bhuvnesh   |  Friday, 30 December 2011 at 10:27 pm

    tag is not show’s file start from tag..not what to do.

  6. bhuvnesh   |  Friday, 30 December 2011 at 10:32 pm

    is this script code is put in every page(file) or in only one file like body.html?

  7. Mikael   |  Saturday, 09 February 2013 at 12:11 pm

    If you want to install Google Analytics on every single page of your site, you can include the code in styles/YOURTEMPLATE/layout/global_header.html.

  8. Mikael   |  Saturday, 09 February 2013 at 12:14 pm

    Oh, nevermind, haha, footer.html works too :D

Leave a Reply






× eight = 40