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

Hello,

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

Difficulty level: Very Easy

Generate your code from the Google page.

1. Open body.html, which is located in ./styles/global/layout/*.

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

THAT’S IT!

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.
Tags: , , , , , , | Posted under ClipBucket | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

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

  1. videostr says:

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

  2. videostr says:

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

  3. swagg says:

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

  4. Girvar says:

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

  5. bhuvnesh says:

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

  6. bhuvnesh says:

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

  7. Mikael says:

    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 says:

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

  9. Pär Jarl says:

    Hi,
    I can not find the tag in my footer.html

    styles/cbv2new/layout/footer.html

    Please help
    //Pär

  10. enTube says:

    thanks richi
    but when I go that I get the script failed with knowledge that I’m using latest version of clipBucket 2.6

    thank you again :)

  11. Nick says:

    How do you do this in 2.6?

  12. Laura says:

    Hello,
    I have clipBucket 2.6 and I put the analytics code in body.html like you said
    “{literal}
    Google Analytics code goes here
    {/literal}

    But still I get Tracking Not Installed from analytics, what can I do to make it work properly.
    When I verify the page source of my index I can see the analytics code, but still doesn’t work.

  13. Luke says:

    Thank You, Richi. Works great! I was afraid that Google Analytics will not work.

Leave a Reply

Your email address will not be published. Required fields are marked *


4 + 3 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>