Skip to content

PHP library for communication with Google Analytics

License

Notifications You must be signed in to change notification settings

filipekp/GALibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GALibrary

PHP library for communication with Google Analytics.

Install

Copy file GALibrary.php to your project folder.

Example use

Not remember to make require_once for use Class GALibrary.

$gaLibraray = new GALibrary('UA-XXXXXXXXX-X');
$gaLibraray->setAdminEmail('your@email.com')
           ->gaBuildHit('pageview', [
              'title' => 'title your page',
              'slug'  => 'path to page from root'
           ]);

About

PHP library for communication with Google Analytics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages