-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(GDB-10629) Add GA4 tracking code in GDB Workbench (#1491)
* feat(GDB-10629) Add GA4 tracking code in GDB Workbench ## WHAT: Add GA4 tracking code in head section of every html page ## WHY: To enable Google Tag Manager (GTM) on the application for enhanced tracking and analytics capabilities. ## HOW: - Updated the `mainCtrl.$inject` array to include `$document` - Defined the `injectGTM` function to create and append the GTM script element - Called `injectGTM` in the controller to ensure GTM is injected upon controller initialization NB. Do not merge to master until the TODO is removed. This branch will be used to build a TR * Added tracking logic based on license type. Refactored license service and updated tracking service. Tests added * align * notes fix * updated jsdocs --------- Co-authored-by: Svilen Velikov <51084653+svilenvelikov@users.noreply.github.com>
- Loading branch information
1 parent
5db7b7d
commit 4e6499f
Showing
7 changed files
with
355 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.