Converts TrackingInfo items into Google Analytics hits, then collects hits into a batch to send to GA. Enforces GA's batching logic, including:
Function to call when a batch is ready to send to Google Analytics. Will
be invoked with the batch payload (a string where each line is a form URL-encoded GA hit) as well
as the DataDefinition you should pass to the @paychex/core
createRequest
method. See the
examples for details.
A collection function that can be passed to createTracker
in @paychex/core
.
Provides a Google Analytics collector that can be used with
@paychex/core
Tracker.