Eventvisor

Use cases

Data enrichment

Eventvisor has concepts like lookups and transforms that can help you enrich your data on on the fly, without needing to deploy your applications again.

Transforms

Data transformation is a powerful concept in Eventvisor, which allows you to transform your payloads at application level before sending them to your destinations.

Examples of such transformations may include:

  • Adding an extra property
  • Removing sensitive properties
  • Renaming some property
  • ...and more

You can learn about them in more depth in transforms page.

Transforming at event level

Transformations can be applied at individual event level:

events/page_view.yml
# ...
transforms:
- type: set
target: someNewProperty
value: value here

We just added a new property to the tracked event's payload.

You can also have destination specific transformation for an event:

events/page_view.yml
# ...
destinations:
browser:
transforms:
- type: set
target: someNewProperty
value: value here

We just added a new property to the tracked event's payload that's affecting only the browser destination.

Transforming at destination level

Transformations can also be applied at destination level:

destinations/browser.yml
# ...
transforms:
- type: set
target: someNewProperty
value: value here

Lookups

Lookups can be used to read information on demand via installed modules in your application.

If we take module-localstorage as an example, we can use it to read a value from the browser's localStorage in our transforms:

transforms/browser.yml
transforms:
- lookup: localstorage.someKeyHere
type: set
target: someNewProperty

We just manipulated the tracked event's payload affecting browser destination alone, by adding a new property with a value being read from the localStorage.

This can be expanded further with more different kinds of lookups in your applications, by building custom modules.

Previous
Audit history