Developer Docs
Quickstart

Quickstart

Get your first conversion tracked in under 5 minutes.

Get your API key

Log in to the Convultra Dashboard (opens in a new tab) and navigate to Projects → Your Project → API Keys. Copy your project API key — it looks like proj_abc123....

💡

If you do not have a project yet, click Create Project, enter your domain and timezone, and your API key will be generated automatically.

Add the tracking script

Paste this into your site's <head> tag. The stub ensures no calls are lost while the SDK loads asynchronously.

<!-- Convultra stub: queues calls before SDK loads -->
<script>
window.Convultra=window.Convultra||(function(){
  var q=[];var c={q:q,initialized:false,config:{}};
  ['init','track','trackPurchase','trackLead','trackSignup','trackConversion',
   'trackAddToCart','trackViewContent','trackBeginCheckout','enhance',
   'setEnhancedUserData','identify','trackContact','trackSchedule',
   'trackDownload','trackSubscription','trackAddPaymentInfo',
   'trackAddToWishlist','trackSearch'].forEach(function(m){
    c[m]=function(){q.push({m:m,a:Array.prototype.slice.call(arguments,0),t:Date.now()});return c;};
  });
  return c;
})();
</script>
<script async src="https://cdn.convultra.com/ultra.min.js" data-convultra-key="YOUR_API_KEY"></script>

Replace YOUR_API_KEY with your project API key from Step 1.

How this works: The stub creates a lightweight Convultra object that queues any method calls. When the async script finishes loading, the SDK drains the queue and processes every call in order. Zero race conditions, zero blocking.

Track your first conversion

Add this anywhere after the snippet above — on a thank-you page, in a form submission handler, or inline:

<script>
  Convultra.trackPurchase({
    orderId: 'order_123',
    value: 99.99,
    currency: 'USD'
  })
</script>

Or track a lead instead:

<script>
  Convultra.trackLead({
    leadId: 'lead_456',
    value: 25.00,
    email: '[email protected]',
    source: 'contact-form'
  })
</script>

Verify in the dashboard

Open Dashboard → Conversions. Your conversion should appear within a few seconds. You will see the event type, value, currency, and timestamp.

If it does not appear, check the browser console for errors and verify your API key is correct.

Connect an ad platform

Go to Dashboard → Integrations and connect at least one ad platform:

  • Google Ads — Forward conversions via the Google Ads API
  • Meta (Facebook/Instagram) — Forward via the Conversions API (CAPI)
  • Microsoft Ads (Bing) — Forward via the Microsoft Ads API

Once connected, Convultra will automatically forward all tracked conversions to the platform in real time.

Next steps

I want to...Go here
See all installation methodsInstallation
Track all conversion typesTracking Conversions
Add enhanced conversionsEnhanced Conversions
Track e-commerce funnel eventsE-commerce Events
Use server-side tracking (Node.js)Node.js SDK