Back to fb-conversions-webhook

SalesCandy Git archive

fb-conversions-webhook

Sends updates for Facebook Lead Ads leads to Meta’s Conversions API.

README

This repository sends updates for Facebook Lead Ads leads to Meta’s Conversions API. It processes lead data changes to ensure accurate event reporting.

The system accepts lead update payloads from Facebook. It outputs structured event data ready for ingestion by the Conversions API.

Selected files and folders

  • README.md
  • app
  • package.json
  • serverless.yml
  • tests

Reconstructed issues

Summaries inferred from the archive. Original issue records are unavailable here.

Funnel stage mapping missing

Previously, the system lacked logic to map incoming lead data to defined funnel stages. This change introduces the necessary mapping to correctly categorize lead progression events.

d124c1a0dcda

Event tracking and backfill needed

The mechanism for tracking and backfilling previously sent events was absent. This update adds the necessary infrastructure to ensure historical and ongoing event reporting is captured.

1b89cdc3f53d

Missing projectId on message unpack

The process failed when unpacking messages because the required projectId was sometimes missing. This fix ensures the projectId is available before message processing continues.

1585f5861646

Selected commits

  1. Bugfix: missing projectId after unpacking message

    Reza Rosli ·

    1585f5861646e2689b341a62e0fae17738512bf6

  2. Add tracking and back-filling of sent events

    Reza Rosli ·

    1b89cdc3f53d83039c11f02ae2f1a8a52cb86139

  3. Use SSM variables in serverless.yml

    Reza Rosli ·

    f2b7e131635676ae918079f292ae9da0e7374ac7

  4. Implement funnel stage mapping

    Reza Rosli ·

    d124c1a0dcdacab615b3064e456e66190475f7c3

  5. Implement management functions

    Reza Rosli ·

    b158a80f424eccc6e223b9fe75f353ca29ff1a08

  6. Initial commit after cloning from candysync-webhook repo

    Reza Rosli ·

    57a801176b7fa4fec7ffd25da970657d86c2f5af