What it does
This module is an API module, it does nothing out of the box if you don't write any code.
This modules enables developers to issue Google Analytics Events server side, even during Ajax requests.
Once enabled, simply trigger an event with the following code:
\Drupal\google_analytics_events\EventService::getInstance()->queueEvent(
(new \Drupal\google_analytics_events\Event())
->setHitType('event')
->setEventCategory('checkout')
->setEventAction('personal_data_submit')
->setEventLabel($curso->titulo->value())
->setEventValue(0)
);
You can assign values to events to, for example, track the exact expense of a conversion after an accepted online transaction completes (PayPal, credit card, etc.)
This event data is attached to the current request Drupal Settings object and then processed on the client side to be sent to Google Analytics.
Support
This module is developed and maintained in personal time. If it was useful to you,
Or use Bitcoin:

1MXo2pFjoE6hF63D9xscTQ12kBikNsE8Ec
Project information
1 site reports using this module
- Created by david_garcia on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.


