Answer the question
In order to leave comments, you need to log in
Is it correct to put 2 events on one action in google tag?
Write on the site
You need to set up identifiers on the site for button clicks and successful form submissions.
Data by Indicators:
Goal name "Quick Order"
Category: 1click
Action: 1click
Well, ok, do this, put an event on the button -
onclick="gtag('event', 'click_button_callback', { 'event_category': 'zakaz-zvonka', 'event_action': 'zakaz-zvonka', }); return true;"
But they also ask for the successful submission of the form - it turns out the event will be different, but the category of the event and the action will be the same?
onclick="gtag('event', 'send_form_callback', { 'event_category': 'zakaz-zvonka', 'event_action': 'zakaz-zvonka', }); return true;"
Or is that not possible? I don’t understand how it works and why for 2 events on the same category and action.
Answer the question
In order to leave comments, you need to log in
onclick="gtag('event', 'event1', { 'event_category': 'zakaz-zvonka', 'event_action': 'zakaz-zvonka', }); gtag('event', 'event2', { 'event_category ': 'zakaz-zvonka', 'event_action': 'zakaz-zvonka', });"
but in general it’s a bit of a crutch, it’s better to use GTM and you can hang at least 10 events calmly
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question