T
T
Trustlab2016-01-28 17:21:41
Google Analytics
Trustlab, 2016-01-28 17:21:41

How to add store data in Google.Analytics when tracking the application form?

Good afternoon, colleagues.
There are application forms for the car.
We track them by onsubmit="ga('send', 'event', 'Forma1', 'otpravka')"
Next to the form there is an indication of the car dealership that has this car. The tag with car dealerships has a unique ID, for example "autosalon1"
What parameter do I need to add to the anatilix code so that requests are distributed by car dealerships in the Event reports?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Agapov, 2016-01-29
@oleg_agapov

At us in Universal Analytics, something like this is implemented through dimensions.
In the analytics settings there is such a Dimentions section. There you need to create a new one, for example dimention1.
Next, in the tracker code, add
ga('PageTracker.set', 'dimension1', 'autosalon1');
As a result, it will be possible to see this dimension by making a cut (through Segments) along it. Here. If I understood the question correctly :)

J
Jacob, 2016-01-28
@Logrise

When generating the event sending code, you need to set up ID substitution in the
onsubmit="ga('send', 'event', 'Forma1', 'autosalon1')" code on the server side. Though it is possible and in the client.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question