This is a tutorial on how to set up a notification that records actions via webhooks. To learn how to set up a custom campaign tracking form submits, click here: Stream notification setup - Form submits


What are "Action streams" and how do they work? 

The action stream notifications allow you to send any kind of data to Social Oracle. Let's say you want to display a notification every time somebody makes a purchase on your website. With action streams, you can listen for a purchase event on your site and then send data about the purchase to us.


To track actions with webhooks, you will need to make POST requests to the webhook either from your server or front-end. This campaign type should only be chosen by users who have access to their front-end JavaScript code or back-end server code.


1. After selecting "Webhooks" a webhook URL will be generated for you

To learn how to send data to the webhook check out this article: Making POST requests to the webhook


2. Choose where your notification is shown. 

This field determines where your notification is displayed. You can choose to either enter one or multiple URLs where the notification is displayed or target multiple pages where the URL includes a specific word or query parameter.