vtex/splunkevents-js

Simplify send non JSON events

Closed this issue · 1 comments

  • The event parameter must be an object with properties of ptimitive types: string, boolean and number
  • When using Aditional Info concatenate extra information as string

the request to the splunk endpoint only works if the body is a valid JSON String, but the 'event' property can be just a String.