Answer the question
In order to leave comments, you need to log in
How to track an event using angulartics2?
I'm trying to stick angulartics2 (for gtm) into the angular project, page tracking, web browser, etc. work on 5+, but I can't track the event. I do everything according to the instructions on the site.
this.angulartics2.eventTrack.next({
action: 'send_form',
})
this.angulartics2.eventTrack.next({
action: 'myAction',
properties: {
category: 'myCategory',
label: 'myLabel',
},
});
this.angulartics2.eventTrack.next({
action: 'send_form',
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question