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
very thank you.
i tryed and everythink is ok.
best regards.
ohh. thank you guys.
analytics is the best app for check site’s
i don’t see this anywhere in the footer.html file
find body.html under styles/YOUR_THEME/layout/, and paste the code above tag
tag is not show’s file start from tag..not what to do.
is this script code is put in every page(file) or in only one file like body.html?
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.
Oh, nevermind, haha, footer.html works too 😀
Hi,
I can not find the tag in my footer.html
styles/cbv2new/layout/footer.html
Please help
//Pär
Hello,
Look in ./styles/cbv2new/layout/body.html .. Put your code before the tag.
Regards,
Richi
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 🙂
How do you do this in 2.6?
Hello,
It’s the same procedure. What problems are you having?
Regards,
Richi
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.
Hello,
Please post the content of your body.html to see if there’s any mistake.
Regards,
Richi
Thank You, Richi. Works great! I was afraid that Google Analytics will not work.