npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ovehbe/n8n-nodes-ads-conversions

v0.1.9

Published

n8n community node for sending conversion events to Facebook (Meta) Conversions API and Google Ads Offline Conversions

Readme

n8n-nodes-ads-conversions

A community node for n8n that sends conversion events to Facebook (Meta) Conversions API and Google Ads Offline Conversions — with automatic PII hashing, just like Zapier's dedicated conversion nodes.

No more manually constructing JSON payloads, normalizing data, or SHA256-hashing fields. Fill in the form fields and the node handles the rest.

Features

  • Facebook Conversions API (CAPI)

    • Send Purchase, Lead, CompleteRegistration, or Custom events
    • All PII fields (email, phone, name, city, etc.) are automatically normalized and SHA256-hashed
    • Non-PII fields (fbc, fbp, IP, user agent) are passed through unhashed
    • Test Event Code support for validation in Events Manager
    • Data Processing Options (LDU) support
  • Google Ads Offline Conversions

    • Upload click conversions with GCLID, GBRAID, or WBRAID
    • Enhanced conversions with auto-hashed user identifiers
    • Consent fields for ad user data and ad personalization
    • Partial failure handling

Installation

In n8n (Community Nodes)

  1. Go to SettingsCommunity Nodes
  2. Select Install a community node
  3. Enter n8n-nodes-ads-conversions
  4. Agree to the risks and click Install

Manual Installation

cd ~/.n8n/custom
npm install n8n-nodes-ads-conversions

Then restart n8n.

Development

git clone https://github.com/ovehbe/n8n-nodes-ads-conversions.git
cd n8n-nodes-ads-conversions
npm install --ignore-scripts
npm run build

To link for local development:

npm link
cd ~/.n8n
npm link n8n-nodes-ads-conversions

Setup

Facebook Conversions API

  1. Create a System User in Meta Business Manager
  2. Generate an Access Token with ads_management permission
  3. In n8n, create a new Facebook Conversions API credential with this token
  4. Find your Pixel ID in Events Manager → Data Sources

Google Ads OAuth2

  1. Create an OAuth2 application in Google Cloud Console
  2. Enable the Google Ads API in your project
  3. Get a Developer Token from your Google Ads Manager account → API Center
  4. In n8n, create a new Google Ads OAuth2 API credential:
    • Client ID and Secret from GCP
    • Developer Token
    • (Optional) Login Customer ID if using an MCC

Usage

Facebook: Send Purchase Event

  1. Add the Ads Conversions node to your workflow
  2. Select Facebook Conversions as the resource
  3. Choose Send Purchase Event
  4. Fill in:
    • Pixel ID — your Facebook Pixel
    • Action Source — where the conversion happened (e.g. website)
    • Event Time — when it occurred
    • User Data — email, phone, name, etc. (auto-hashed)
    • Purchase Data — value, currency, content name

Facebook: Send Lead Event

Same as above but select Send Lead Event. No purchase data needed.

Google Ads: Send Offline Conversion

  1. Select Google Ads as the resource
  2. Choose Send Offline Conversion
  3. Fill in:
    • Customer ID — your Google Ads account ID (no dashes)
    • Conversion Action — resource name from your account
    • Conversion Date Time — format: yyyy-mm-dd hh:mm:ss+|-hh:mm
    • Click Identifiers — GCLID from the ad click
    • Consent — GRANTED / DENIED for EU compliance
    • Value and Currency
    • Enhanced Conversions — email, phone, address (auto-hashed)

How Auto-Hashing Works

The node automatically handles the data normalization and SHA256 hashing required by both platforms:

| Field | Normalization | Hashed? | |-------|--------------|---------| | Email | trim, lowercase | Yes | | Phone | strip non-digits | Yes | | First/Last Name | trim, lowercase | Yes | | City | trim, lowercase, strip non-alpha | Yes | | State | trim, lowercase | Yes | | Zip | trim, lowercase, strip spaces/dashes | Yes | | Country | trim, lowercase | Yes | | Gender | first char, lowercase | Yes | | Date of Birth | strip non-digits | Yes | | External ID | — | Yes | | fbc / fbp | — | No | | Client IP / User Agent | — | No |

API Versions

  • Facebook Graph API: v21.0
  • Google Ads API: v19

These are configured as constants in the source and easy to update.

License

MIT