Google Analytics in Turnkey app
This page was created by Denis on 2020-09-30. Last edited by Edgar on 2025-10-12.
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) { }]);
