Nextdoor Conversions API (CAPI)

Datafly Signal delivers conversion events to Nextdoor server-to-server using the Conversions API. This provides enhanced local advertising attribution and privacy-safe campaign measurement without relying on client-side tracking.

Prerequisites

Before configuring Nextdoor CAPI in Signal, you need a Nextdoor Business account with the Conversions API enabled, a conversion event configured, and an API access token.

Create a Nextdoor Business Account

  1. Go to business.nextdoor.com and click Create Account.
  2. Enter your business details and verify your email address.
  3. Complete the onboarding wizard to set up your business profile.

Enable the Conversions API

  1. In Nextdoor Ads Manager, navigate to Events in the left sidebar.
  2. Click Set Up Conversions API (or contact your Nextdoor account representative to enable CAPI access).
  3. Review and accept the Conversions API terms.

The Conversions API is a server-to-server integration. Unlike the pixel-based integration, no client-side snippet is required. Signal sends events directly from your infrastructure to Nextdoor’s servers.

Configure a Conversion Event

  1. In Nextdoor Ads Manager, go to Events > Conversions.
  2. Click Create Conversion to define a new conversion event.
  3. Name the conversion (e.g. “Website Purchase”), select the conversion type, and configure attribution settings.
  4. Note the Conversion ID — you will need this for Signal configuration.

Generate an API Access Token

  1. In Nextdoor Ads Manager, go to Account Settings > API Access.
  2. Click Generate Token and ensure the token has conversion write permissions.
  3. Copy the access token immediately — it may only be shown once.
  4. Note your Advertiser ID from the Account Settings page.
⚠️

Store the access token securely. If you lose it, you will need to generate a new one. Ensure the token has conversion write permissions — a read-only token will not work.

Configure in Signal

Now that you have your Advertiser ID, Conversion ID, and access token, configure the integration in Signal.

Configuration Fields

FieldRequiredDescription
advertiser_idYesYour Nextdoor advertiser ID. Found in Nextdoor Ads Manager under Account Settings.
access_tokenYesCAPI access token with conversion write permissions. Generated in Nextdoor Ads Manager under API Access.
conversion_idYesThe conversion event ID configured in Nextdoor Ads Manager under Events > Conversions.

Management UI Setup

  1. Go to Integrations > Add Integration > Nextdoor CAPI.
  2. Enter your advertiser_id, access_token, and conversion_id.
  3. Select consent categories (typically advertising).
  4. Click Save.

Management API Setup

curl -X POST http://localhost:8084/v1/admin/integrations \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "source_id": "src_abc123",
    "vendor": "nextdoor_capi",
    "name": "Nextdoor CAPI Production",
    "enabled": true,
    "config": {
      "advertiser_id": "nd-adv-12345",
      "access_token": "ndat_abc123...",
      "conversion_id": "nd-conv-98765"
    },
    "consent_categories": ["advertising"]
  }'

Event Mapping

Datafly EventNextdoor CAPI EventNotes
page (page view)PageViewSent for every page view
Order CompletedPurchaseRequires value, currency
Product AddedAddToCartIncludes product details
Checkout StartedInitiateCheckoutIncludes value, currency
Product ViewedViewContentIncludes content identifiers
Lead GeneratedLeadLead form submission
Signed UpCompleteRegistrationUser registration
Custom eventsPassed throughSent as custom event name

Identity Signals

The Conversions API relies on identity signals to match server events to Nextdoor user profiles. The more signals you provide, the better the match rate.

Automatic Signals

These are sent automatically by Signal — no configuration needed:

SignalDescription
IP addressVisitor’s IP address, forwarded from the original request.
User agentVisitor’s User-Agent string, forwarded from the original request.
External IDSet to the Datafly anonymous_id (hashed).

User-Provided Signals

When a user is identified via _df.identify(), additional signals can be sent to improve match quality:

SignalDescription
Email (hashed)User’s email address, SHA-256 hashed before sending.
Phone (hashed)User’s phone number, SHA-256 hashed before sending.

All PII hashing is performed server-side by the Delivery Worker before the data leaves your infrastructure. Raw PII is never sent to Nextdoor.

Testing Your Integration

Step 1: Send a Test Event

  1. Trigger a conversion event on your website (e.g. a purchase or lead form submission).
  2. Check the Signal event debugger in the Management UI to confirm the event was captured and delivered.

Step 2: Verify in Nextdoor Ads Manager

  1. In Nextdoor Ads Manager, go to Events > Conversions.
  2. Click on your conversion event to view received events.
  3. Events should appear within a few minutes of delivery.

Step 3: Validate Match Quality

  1. Review the match rate reported in the Conversions dashboard.
  2. If the match rate is low, add user identity signals via _df.identify() when users log in or submit forms.

Troubleshooting

ProblemSolution
Events not appearing in NextdoorVerify the advertiser_id, access_token, and conversion_id are correct. Ensure the token has conversion write permissions.
Permission denied errorsThe access token lacks conversion write permissions. Regenerate with the correct permissions.
Low match rateAdd user identity signals (email, phone) via _df.identify(). Ensure IP address and user agent are being forwarded.
Events delayedNextdoor CAPI may take up to 15 minutes to reflect server-side events. Allow time before investigating further.
Invalid conversion_id errorVerify the conversion event exists and is active in Nextdoor Ads Manager under Events > Conversions.

Visit Nextdoor CAPI documentation for full API documentation and credential setup instructions.