Use Cases

Answers to some of the commonly asked questions related to RudderStack’s Transformations feature.

Enrich events with additional information

Suppose you want to set the context.os field to Android for all events, irrespective of the actual platform RudderStack tracks the event from. To do this, you can write a simple transformation as shown:

The transformEvent function overrides the event’s context.os.name and sets it as Android, as shown:

Transformation use-case

Questions? Contact us by email or on Slack