Skip to content

Commit

Permalink
fix(views): Bring views GTM app data layer variable into line wit…
Browse files Browse the repository at this point in the history
…h the changes in d4a7141.
  • Loading branch information
randytarampi committed Oct 20, 2018
1 parent 1d4fbd1 commit 6984956
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/views/templates/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,14 @@ html(lang="en")
window.GTM_DATALAYER = [
{appName: window.NAME},
{appVersion: window.VERSION},
{appEnvironment: window.ENVIRONMENT}
{appEnvironment: window.ENVIRONMENT},
{
app: {
name: window.NAME,
version: window.VERSION,
environment: window.ENVIRONMENT
}
}
];
script(type="application/javascript").
(function (w, d, s, l, i) {
Expand Down

0 comments on commit 6984956

Please sign in to comment.