A
A
Andrey Okhotnikov2020-12-22 11:04:08
Google Analytics
Andrey Okhotnikov, 2020-12-22 11:04:08

Create an event in google analytics?

An online store on React, we use react-ga to send actions to Google Analytics

There is an event for creating an order, it is sent like this

ReactGA.plugin.execute('ecommerce', 'addTransaction', data);


How to create a new event (order created but not paid)?

As I understand it, you need to find the creation of events somewhere in the admin panel - give it the name NAME and send it in the same way
ReactGA.plugin.execute('ecommerce', 'NAME', data);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question