Configuring the SRC VTA Scripts Processor (SRC CLI)
The scripts processor can invoke external executable scripts or JavaScript programs. We recommend using JavaScript programs for better performance.
- External scripts are executable programs, such as shell scripts, that are available on the SRC VTA’s host. Each external script can perform a task and return a value. If the script returns a value, the value can be added to the current event as an event attribute.
- JavaScript programs are used to process SRC VTA event attributes. For example, a JavaScript program can convert SRC VTA event attributes in a timestamp to a date string and add them to the event as a new attribute. The attributes can then be used for subsequent actions, such as sending an e-mail notification to the subscriber. The JavaScript program can refer to any attributes of the event being processed and return a value.
Configuring the SRC VTA scripts processor involves the following tasks: