Answer the question
In order to leave comments, you need to log in
How to set event target in gtag?
I can’t catch a target with the event type, the rest of the targets (following the transition link) work successfully,
I do this
Setting the target -> Own
Description of the target -> Event
Detailed information about the target ->
Category is equal to custom
Action is equal to add_2_order
here
in the code I do this and does not work:
gtag('event', 'add_2_order',{'event_category':'custom'});
gtag('event', 'my_add_2_order',{
'event_category':'custom',
'event_action':'add_2_order',
});
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