Skip to content

mwhitneysdsu/Bonfire-Analytics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

Google Analytics module for ci-bonfire.

Based on the library found here http://codeigniter.com/forums/viewthread/128945/ Based on the Bonfire Module created by Shobo, updated to use database settings instead of a config file.

INSTALL

Drop analytics folder in modules folder. Run migration, set permissions and you're ready to use it.

CONFIGURING

You'll need a valid google analytics account to use this module.

Head over to settings->analytics and set your GA username and password.

The profile field is not used yet.

USING MODULE TO DISPLAY FOOTER CODE

To Display the Javascript code in the footer just add the following line of code in your Template file near the bottom.

<?php  echo Modules::run('analytics/analytics/show_gcode'); ?>

Me Elsewhere

Twitter My Blog

You can always buy me a beer at the local pub 🍺

About

Google Analytics module for ci-bonfire

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.9%
  • JavaScript 3.7%
  • CSS 0.4%