Integrations

Send every sign-up from your site into Zinn® Campaigns

Connect a Node.js, Next.js or Moodle site in minutes. Each lead lands as a contact, labelled with where it came from, with the consent the visitor gave.

Three steps

Create a site key

In your dashboard, open Campaigns and choose Connect a website. The key stays on your server.

Add a connector

Install the npm package or the Moodle plugin and paste the key into its settings.

Watch the leads arrive

Each sign-up becomes a contact with a label, its source and the consent it gave.

Ready-made connectors

Pick the one that fits your site. Each sends the same lead in the same shape.

Node.js, Express and Fastify

One route takes your form post, ignores bots with a hidden field, records consent and sends the lead. Your key never reaches the browser.

Next.js

A route handler or a server action for the App Router. Labels are set on the server, so a visitor cannot add themselves to a list you did not offer.

React sign-up form

A ready form with English and Arabic text, right-to-left ready, that posts to your own route.

Moodle

Our Moodle plugin sends new sign-ups and course enrolments in the background, each labelled with the course name. Download it from your dashboard.

Any other site

Post a lead to our HTTPS API with your site key. A retry with the same key is recognised, so it never makes a duplicate contact.

Install in one line

The package has no runtime dependencies and runs on Node.js 22 or later.

npm install @zinn-digital/campaigns

Know where every contact came from

Each lead is labelled with the platform and the form, such as Next.js: Newsletter or Moodle: Introduction to Biology, so you always know which site and form a contact came from.

Consent travels with the lead

Send the consent box and the exact words the visitor agreed to. Both are kept with the contact, and an address that unsubscribed is never added back.

Questions

Does my site key reach the browser?

No. The key lives in your server code. The React form posts to your own route, and that route adds the key.

What happens if the same person signs up twice?

You keep one contact. A repeat with the same key is answered as a duplicate and nothing changes.

Which versions are supported?

Node.js 22 or later, Next.js with the App Router, React 18 or later, and Moodle 4.5 or later.

Do the connectors cost extra?

No. The npm package and the Moodle plugin are free with your Zinn® Campaigns plan.

Start collecting sign-ups from your site

Create a site key, add a connector and see your first contact arrive.

See Zinn® Campaigns