Answer the question
In order to leave comments, you need to log in
How to set up Google Analytics statistics tracking with user and metrics tracking?
Hello. Tell me pliz who dealt with google analytics. The task is as follows, it is necessary to track how much money each client brought. those. if the client has paid the invoice, then on the side of the GA the counter associated with this user is incremented by the specified amount.
I track the user like this:
ga('create', 'UA-XXXXXXXX-1', {'userId': '12345'});
ga('set', 'orderMoney', 123);
Answer the question
In order to leave comments, you need to log in
You need to set up goals / events and track e-commerce, the help describes this in detail and there are instructions on the Internet.
The client paid the invoice - the "Invoice payment" event with the price, goods (if the online store) is sent to the analytics
You can actually collect user transaction data with ecommerce reports. You can transfer information about the product, its quantity, cost, and even tax and shipping data.
You can find setup instructions on this page:
E-commerce tracking
If your business is far from an online store, or if all transactions are processed manually and only then entered, for example, into CRM, then Google Measurement Protocol can help you. Instructions for transferring data using it can be found here:
Working with the Google Measurement Protocol
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question