Google Analytics in Turnkey app

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

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) { }]);


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