oh i just read that you found it. well for anyone else, go to the dashboard, click on the settings tab, then add the google analytics javascript that they provide after signing up to the "Tracking Code" box there in the dashboard. note that your theme must have the footer_required include in the footer.
btw, analytics is good if you want something free, but if you want to have stats that are accessible straight from within your dashboard, that's integrated to work with other blocks, that can tell you exactly what registered users have been visiting, and their paths through the site, then check out this package: http://www.concrete5.org/marketplace/addons/stats/...
Hi Guys,
Im sorry to be simple but I have no experience with coding. I have the code from Google analytics....and I have pasted it into the Tracking code box.
How do I insert the footer code? Can you please tell me step by step how I do this.
Really appreciate the help
im sorry to be so simple...but i have added my google analytics code to the tracking code part found under "dashboard" and Settings. Im assuming this is where i put it....but i dont understand the instructions kindly provided above.
I dont really understand the FTP file as i use concrete 5 to host my site. How do i insert this footer into the theme? im tearing my hair out. I tried going to dashboard and then pages and themes...but still cannot work out where to go. Please can somebody help!!!!
most themes should have the footer_required.php included by default, but if it's not working, then open up your theme's directory.
if you installed a theme from the marketplace it's probably in the packages directory:
/packages/your_theme_package_name/themes/your_theme_name/
otherwise, if you theme was custom made, it should be located here:
/themes/your_theme_name/
then have a look to see if the theme includes a standard footer file for all of it's page types. this might just be called footer.php, or maybe it's located at /elements/footer.php
then paste in this piece of code:
<?php Loader::element('footer_required'); ?>
some themes don't have a footer.php file, in that case you've got to just open up each available page type file, and paste that text in the bottom of the file.
Hi Guy,
Unfortunately you will need to insert this piece of code (mentioned above) into the document named footer.php.
This page exists in your C5 install and the code must be put into it.
If you don't know what I am talking about then you must ask the person who installed C5 for you. I assume you only ever edit the site using the C5 dashboard?
You have to get access to footer.php which resides in your c5 install as mentioned above.
Talk to the person who set it all up for you because you cant do it without access to this page.
add the following to your theme's footer just before the </body> tag;
Then in the sitewide settings of your dashboard you can fill in your analytics code.
-Robert