Google Analytics in Turnkey app
(Adding message template to the top of the page)
(Replacing message template with parser tag)
 
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
To implement Google Analytics integration in the Turnkey application, download the following files and put them into the [[AssetsTK]] folder of your application's model.  
To implement Google Analytics integration in the Turnkey application, download the following files and put them into the [[AssetsTK]] folder of your application's model.  



Latest revision as of 07:42, 17 June 2024

To implement Google Analytics integration in the Turnkey application, download the following files and put them into the AssetsTK folder of your application's model.

File:Google analytics for Turnkey app.zip

angular.module(MDrivenAngularAppModule).config(['AnalyticsProvider', function (AnalyticsProvider) {
    // Add configuration code as desired
    AnalyticsProvider.setAccount('UU-XXXXXXX-X');  //UU-XXXXXXX-X should be your tracking code
 }]).run(['Analytics', function(Analytics) { }]);

See: https://github.com/revolunet/angular-google-analytics

This page was edited 95 days ago on 06/17/2024. What links here