Sovendus LogoDeveloper Hub
Voucher Network / Checkout BenefitsLeadsOptimizeCheckout ProductsRewards
Getting Started

Getting Started

Generic Client Side IntegrationGeneric Server Side IntegrationGoogle Tag Manager IconGoogle-Tagmanager-IntegrationShopify IconShopify App
Getting Started

Getting Started

Generic Client Side IntegrationGeneric Server Side IntegrationGoogle Tag Manager IconGoogle-Tagmanager-IntegrationShopify IconShopify App

Frontend Integration

Track conversions from Sovendus partners with a simple JavaScript integration.

๐Ÿš€ Quick Start

  1. Capture token on landing page
  2. Fire pixel on order completion
  3. Test the integration

๐Ÿ”— How It Works

When users click your offer on partner sites, they arrive with a sovReqToken parameter:
https://yoursite.com/landing?sovReqToken=abc123-def456-ghi789
Your job: Capture this token and send it back when they complete an order.

๐Ÿ“ Step 1: Capture Token

Add this to your landing page:
// Capture token from URL and store it
function captureSovendusToken() {
  const token = new URLSearchParams(window.location.search).get('sovReqToken');
  if (

๐ŸŽฏ Step 2: Fire Pixel

Add this to your order completion page:
// Send token back to Sovendus
function fireSovendusPixel() {
  const token = localStorage.getItem('sovReqToken');

  if (token) {
    // Create tracking pixel
    const pixel 


๐Ÿงช Test Your Integration

Quick Test

  1. Add test token to your landing page URL:
    https://yoursite.com/landing?sovReqToken=test-token-123
    
  2. Check localStorage in browser dev tools:
    localStorage.getItem('sovReqToken') // Should return: test-token-123
  3. Complete test order and check Network tab for pixel request to:
    https://press-order-api.sovendus.com/ext/image?sovReqToken=test-token-123
    

โš ๏ธ Important Notes

Only fire the pixel if a token exists
This ensures you only track users who came from Sovendus partners.
Token parameter name
The token parameter name can be customized. Contact Sovendus if you need to change sovReqToken.

๐Ÿ“ž Need Help?

Contact your Sovendus representative if you have questions or need assistance with the integration.
token
)
{
localStorage
.
setItem
(
'sovReqToken'
,
token
)
;
console
.
log
(
'โœ… Sovendus token captured'
)
;
}
}
// Run on page load
document
.
addEventListener
(
'DOMContentLoaded'
,
captureSovendusToken
)
;
=
document
.
createElement
(
'img'
)
;
pixel
.
src
=
`
https://press-order-api.sovendus.com/ext/image?sovReqToken=
${
token
}
`
;
pixel
.
style
.
display
=
'none'
;
document
.
body
.
appendChild
(
pixel
)
;
// Clean up
localStorage
.
removeItem
(
'sovReqToken'
)
;
console
.
log
(
'โœ… Sovendus pixel fired'
)
;
}
}
// Run on page load
document
.
addEventListener
(
'DOMContentLoaded'
,
fireSovendusPixel
)
;