Velocidi's CDP will analyze the generated traffic in order to find conversion events and their respective attributable events:
- Conversion event: an event that generated revenue, for example, a purchase or subscription.
- Attributable event: a previous event from the user that lead to the conversion event.
For example, it is insightful to know that a certain ad view might have been the deciding factor that lead to a purchase.
Velocidi's CDP will relate conversion events with the attributable events that lead to the conversion. Through our Attribution API you can query these events and run your own attribution models to identify the value of each attributable event in relation to a specific conversion.
You can retrieve all conversions that occurred between a time frame by calling the
(This example uses
gprc_cli to make the gRPC request, but any other gRPC client will work)
The response will be a stream of conversions. A conversion consists of a conversion event and their respective attributable events (see Conversion).
After you've applied your attribution model to the previously retrieved conversions, you should now have a value for each attributable event. This value signifies the importance, in a percentual format, that said attributable event had in leading to the conversion event.
To import the value of a conversion to Velocidi's CDP you can use the method
which takes as input the model used to calculate the values, the ID of the conversion event, and
attributableId (ID of the attributable event) to
value (from 0 to 1, percentual).
Attributable events not present in the
Map will be automatically given a value of 0. If the total
sum of values is different from 1 (±0.01) the method will fail.