Skip to content

Use analytics.js (GA Universal Analytics) with Ludei's CocoonJS Canvas+ apps by making use of the WebView.

Notifications You must be signed in to change notification settings

dominic-braeunlein/google-analytics-with-ludei-cocconjs-canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-analytics-with-ludei-cocconjs-canvas
===================================

Use analytics.js (GA Universal Analytics) with Ludei's CocoonJS Canvas+ apps by making use of the WebView
No external hosting is needed anymore.

To use:

  1. Download http://www.google-analytics.com/analytics.js and add contents to file analytics.js.
  2. Set up a new property in Google Analytics to track a mobile app.
  3. Modify the web property ID (UA-#) in index.html
  4. Test it on your phone using Canvas+ environment on your CocoonJS Launcher.
  5. Your ScreenView should be visible in your real-time Google Analytics report.


I found quite some outdated information when I wanted to use Google Analytics with my Canvas+ game. I found this two very helpful articles and made this up to date example:
http://www.blastam.com/blog/index.php/2013/07/ga-universal-analytics-phonegap-mobile-apps/
http://remvst.com/article-49-using-google-analytics-within-cocoonjs.html

About

Use analytics.js (GA Universal Analytics) with Ludei's CocoonJS Canvas+ apps by making use of the WebView.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published