X Enterprises

fastify-xwhatconverts

WhatConverts lead tracking API integration.

fastify-xwhatconverts

WhatConverts lead tracking plugin for recording form submissions, calls, and chat leads to WhatConverts dashboards.

Quick Start

await fastify.register(xWhatConverts, {
  accountId: process.env.WHATCONVERTS_ACCOUNT_ID,
  apiKey: process.env.WHATCONVERTS_API_KEY,
})

// Record a lead
await fastify.xwhatconverts.createLead({
  leadType: 'form',
  quotedValue: 1500,
  email: 'lead@example.com',
  phone: '+15555551234',
  formData: { message: 'Interested in Pro plan' },
  source: 'Google Ads',
})

AI Context

package: "@xenterprises/fastify-xwhatconverts"
decorates: fastify.xwhatconverts
use-when: Marketing attribution tracking, recording form/chat/call leads to WhatConverts
env-required: [WHATCONVERTS_ACCOUNT_ID, WHATCONVERTS_API_KEY]
leadTypes: [form, phone_call, chat, transaction]
Copyright © 2026