Google Analytics in Turnkey app
m ((username removed) (log details removed): Moving to Documentation namespace)
(Automatically adding template at the end of the page.)
Line 9: Line 9:
  }]).run(['Analytics', function(Analytics) { }]);</pre>See: https://github.com/revolunet/angular-google-analytics
  }]).run(['Analytics', function(Analytics) { }]);</pre>See: https://github.com/revolunet/angular-google-analytics
[[Category:MDriven Turnkey]]
[[Category:MDriven Turnkey]]
{{Edited|July|12|2024}}

Revision as of 15:34, 10 February 2024

This page was created by Denis on 2020-09-30. Last edited by Edgar on 2025-01-20.

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

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments