πŸ”—Send Conversion Events to Facebook

You can send online and offline conversion events to Facebook API from within Gleantap. This is done by setting up a Webhook within the flows.

Here is how you can go about it -

  1. Go to Flows - Click "+" to add a new Flow.

  2. Add the Name of the Flow and click "Next" to specify the segment.

  3. Select the segment that has your conversions.

  4. Continue forward to the Design your Flow step and click "+" select - "Action".

  5. From the right panel, select Sales > "Submit to Webhook"

  6. Add the following info for the Webhook

    1. Method: POST

    2. Payload Type: JSON

    3. Payload

      1. email - (Select "Email" from the dropdown)

      2. phone - (Select "Phone" from the dropdown)

      3. event_name - (Enter Custom Value - could be anything eg. "purchase")

      4. app_id - (Enter Custom Value - this is your workroom ID. If you go to your dashboard, this is your last part of the URL after "/")

      5. pixel_id - (Enter Custom Value - this is your facebook pixel id)

      6. access_token - (Enter Custom Value - get your access token from facebook - instructions here)

      7. user_id - (Select "Member ID" from dropdown)

      8. action_source - (Enter Custom Value - this could be anything eg. "web" or "instore")

  7. Click "Save"

  8. Click "Publish" to go live with the flow.

Once the flow is live it starts sending each of the conversions you have in the segment to facebook. You can verify if its working correctly by clicking and opening any of the contacts that got processed through the flow and find a attribute in their profile called "fb_conversion_api_response" and it should look like

Last updated

Was this helpful?