To create a script runner reaction, you simply need the script you wish to run, and the Permutive segment you wish to target it to set up.
Here's some more information about each of the fields you need to fill in:
Target this reaction to: The segment you want to see this reaction.
On Entry / On Exit / Every Time: When you want the overlay to be displayed. On entry to a segment, when a user exits a segment, or every time they visit a page while in that segment.
Variants: Covered in Reporting below
Context Criteria: Explained below
When using the Script Runner, you can track impressions and conversions for the reaction. You can track impressions and conversions using impression() and conversion() in your script. It's up to you to decide what an impression and conversion mean,
If you want to test a script to different audiences, or different script content you can set up multiple variants. These variants will be tracked in Permutive.
You can set up a variant by clicking '+ Add Variant' then setting up your variant in the same way as you set up your initial overlay.
Variants are tracked in the A/B testing, and the dashboard will display conversion rates for each variant.
Above is an example of an overlay A/B/C test, with results.
Writing the JS usually requires a developer, so it's best to get in touch with us first to guide you through the process.