Google Analytics in Turnkey app
No edit summary
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.  


[[File:Google analytics for Turnkey app.zip|thumb|Google Analytics|none]]
[[File:Google analytics for Turnkey app.zip|thumb|Google Analytics|none]]


<pre>
<pre>
Line 8: Line 7:
     // Add configuration code as desired
     // Add configuration code as desired
     AnalyticsProvider.setAccount('UU-XXXXXXX-X');  //UU-XXXXXXX-X should be your tracking code
     AnalyticsProvider.setAccount('UU-XXXXXXX-X');  //UU-XXXXXXX-X should be your tracking code
  }]).run(['Analytics', function(Analytics) { }]);
  }]).run(['Analytics', function(Analytics) { }]);</pre>See: https://github.com/revolunet/angular-google-analytics
</pre>
[[Category:MDriven Turnkey]]
 
{{Edited|July|12|2024}}
https://github.com/revolunet/angular-google-analytics

Latest revision as of 15:34, 10 February 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 114 days ago on 02/10/2024. What links here