Script Transformation Examples
📄️ Non-Snowplow data
For this example, the input data is a json string which looks like this:
📄️ Snowplow data
For this example, the input data is a valid Snowplow TSV event - so we can enable snowplow_mode, which will convert the data to a JSON before passing it to the script as a JSON object.