Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Google Analytics for Ionic Apps with website tracking code

$
0
0

or if you want to build something easy on your own --> add your GA-Code at the end of your body --> in your base controller of your app listen an the $stateChangeSuccess-event of the ui-router --> and trigger page view tracking with ordinary GA JavaScript SDK :slightly_smiling:

I add additional data to my states like "page title" --> an i pass this title and url to my page view tracking.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>