Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Pico GAnalytics

Adds automatically the Google Analytics tracking script to the head section of each page of the site.

Installation

Place pico_ganalytics.php file into the plugins directory.

Configuration

Inside the config.php file:

/* Google Analytics */
// The Google Analytics ID for your site:
// Admin --> Property --> Property Settings
$config['GAnalytics']['trackingID'] = 'UA-53343030-1';
/* Basic options */
// Demographics and Interest Reports
// (activated in Admin --> Property --> Property Settings)
$config['GAnalytics']['demoint'] = true;
//Enhanced link attribution
// (activated in Admin --> Property --> Property Settings)
$config['GAnalytics']['linkatt'] = true;

TODO

  • adding personal tracking variables, goals... ?

About

Pico plugin that adds automatically Google Analytics to the head section of each page

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages