Plug into your stack.
Seamless integration without re-engineering your backend.
Google Tag Manager (GTM)
Implement tracking natively. Tag 1 locks the persistent cookie safely on your domain, while our dedicated Tag 2 GTM Template transmits conversion data via server-to-server pixels without writing any JavaScript.
Tag 1: Store Click ID Cookie (All Page Views)
(function() {
var clid = new URLSearchParams(window.location.search).get('clid');
if (clid) document.cookie = 'influise_clid=' + encodeURIComponent(clid) + '; path=/; max-age=31536000; SameSite=Lax';
})();
Tag 2: Influise Conversion (GTM Tag Template)
Download the Influise Conversion template and import it into GTM (Templates → Tag Templates → New → Import). Select Pixel mode to fire a conversion automatically, or Server Container mode for sGTM dataLayer pushes.
| Field | What to enter |
|---|---|
| Send Mode ✅ | Select "Pixel" directly to Influise Server |
| API Key ✅ | Your Influise API key |
| Customer ID ✅ | GTM variable mapping to a stable user ID (e.g. Email) |
| Conversion Value | Optional GTM variable for dynamic cart value overrides |
| Payment / Order ID | Optional variable to prevent cross-device deduplication counting |
Direct API (Without GTM)
For completely custom integrations, post directly to our conversion endpoint. Use clickId for native traffic, or just customerId and paymentId for recurring subscription renewals (Cross-device fallback).
POST /api/conversion
X-API-Key: <your API key>
Content-Type: application/json
{
"clickId": "...",
"customerId": "cust_123",
"paymentId": "inv_999",
"conversionValue": 500
}
Server-Side GTM (sGTM)
The ultimate unblockable tracking path. Your web container pushes the influencer_conversion tag template event into the dataLayer. Your isolated sGTM Server Container picks it up, attaches your hidden Constant API Key, and securely ferries the payload to Influise.
// Step 5 - sGTM Server Container HTTP Request Tag Setup
URL: https://app.influise.com/api/conversion
Method: POST
Headers: Content-Type: application/json
X-API-Key: {{influise_api_key}}
Body: {
"customerId": "{{customer_id}}",
"conversionValue": {{conversion_value}},
"clickId": "{{click_id}}",
"paymentId": "{{payment_id}}"
}
Promo Code Tracking
Automatically capture mentions from podcasts, streams, or YouTube natively. If you use our e-commerce integrations, this happens automatically by detecting applied coupons. Otherwise, simply pass the promoCode string in the HTTP API payload and we handle the prioritization.
POST /api/conversion
X-API-Key: <your API key>
Content-Type: application/json
{
"promoCode": "SARAH10",
"customerId": "cust_123",
"conversionValue": 99.99
}
Post-Purchase Survey Widget
Capture "dark social" / word-of-mouth traffic using our frictionless checkout widget. E-commerce plugins inject this seamlessly. For custom apps, drop the snippet below on your order confirmation page.
<!-- 1. Add the container where the survey should appear -->
<div id="influise-survey"></div>
<!-- 2. Inject order parameters immediately after purchase -->
<script>
window.InfluiseSurveyConfig = {
apiKey: "YOUR_API_KEY",
customerId: "cust_123",
conversionValue: 120.00
};
</script>
<!-- 3. Load the dynamic widget script from Influise (see dashboard) -->
Real-Time Webhooks
Push events out intuitively. Available for conversion.created, payout.approved, and payout.paid.
{
"event": "conversion.created",
"timestamp": "2026-04-01T12:00:00.000Z",
"data": {
"conversionId": "...",
"influencerSlug": "sarah-jones",
"customerId": "cust_123",
"conversionValue": 500
}
}