Skip to content

Commit

Permalink
added google analytics code to the prod environment file
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisveilleux committed Oct 9, 2018
1 parent edd7c47 commit b2e9e89
Showing 1 changed file with 13 additions and 1 deletion.
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>'
);

0 comments on commit b2e9e89

Please sign in to comment.