-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added google analytics code to the prod environment file
- Loading branch information
1 parent
edd7c47
commit b2e9e89
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
14 changes: 13 additions & 1 deletion
14
market/frontend/v1/market-ui/src/environments/environment.prod.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
export const environment = { | ||
production: true, | ||
loginUrl: 'http://login.mycroft.test' | ||
loginUrl: 'https://login.mycroft.ai' | ||
}; | ||
|
||
document.write( | ||
'<script async src="https://www.googletagmanager.com/gtag/js?id=UA-101772425-10"></script>' | ||
); | ||
document.write( | ||
'<script>' + | ||
'window.dataLayer = window.dataLayer || []; ' + | ||
'function gtag(){dataLayer.push(arguments);} ' + | ||
'gtag("js", new Date());' + | ||
'gtag("config", "UA-101772425-10"); ' + | ||
'</script>' | ||
); |