Commit cd42ded4 by Chamath

S53617890 - Help Hero in wrong window

S54251681 - Body page does not expand to window and add-ins display in wrong location
Pushing dataLayer data to the Google tag manager.
parent aaa6c6db
...@@ -114,6 +114,11 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy { ...@@ -114,6 +114,11 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
this.dataLayer = message.message[0]; this.dataLayer = message.message[0];
console.log(message.message[0].userId); console.log(message.message[0].userId);
console.log(message.message[0].stripeId); console.log(message.message[0].stripeId);
//todo change this code, and also call this when hiring team is modified
this.googleTagManagerService.pushTag({
userId: message.message[0].userId,
stripeId: message.message[0].stripeId
});
} }
} }
} }
...@@ -173,11 +178,10 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy { ...@@ -173,11 +178,10 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
} else { } else {
this.titleService.setTitle('Matchd'); this.titleService.setTitle('Matchd');
} }
//todo change this code, and also call this when hiring team is modified // this.googleTagManagerService.pushTag({
this.googleTagManagerService.pushTag({ // userId: 'ht001@matchd.com',
userId: 'test', // stripeId: 'cus_EHGTq8xJ37buSh'
stripeId: 'test' // });
});
}, },
error => { error => {
this.utilsService.handleError(error); this.utilsService.handleError(error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment