Commit 24e760f7 authored by Christopher Mark Fullarton's avatar Christopher Mark Fullarton
Browse files

Adds conversion event to track the custom quiz creations

parent af8b6a3d
...@@ -385,6 +385,11 @@ export class HomeComponent implements OnInit, OnDestroy { ...@@ -385,6 +385,11 @@ export class HomeComponent implements OnInit, OnDestroy {
action: HomeComponent.TYPE, action: HomeComponent.TYPE,
label: 'Demo Quiz created', label: 'Demo Quiz created',
}); });
} else {
this.trackingService.trackConversionEvent({
action: HomeComponent.TYPE,
label: 'Custom Quiz created',
});
} }
this.router.navigate(routingTarget); this.router.navigate(routingTarget);
......
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