Skip to content

kidakaka/analyticsforwp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analytics for WordPress

Demo repo for sample scripts that one can use for Analytics. The repo is meant to be used in conjunction with this deck - Analytics for WordPress. Instead of keeping limiting to just a talk and some slides, I thought it would be useful, if there are sample scripts documented and made ready for use.

Usage

For each of the files, the use case is documented in the comments. There is a configuration section, simply add your GA ID there, and the code will take care of the rest. If there are additional parameters which are use case specific, these would also be documented, just edit and use as per your pages.

List of scripts

  1. Basic script initialization
  2. Custom Event
  3. Custom Event in a WordPress functions.php
  4. User ID

About

Demo repo for sample scripts that one can use for Analytics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages