Track conversions from Sovendus partners with a simple JavaScript integration.
- Capture token on landing page
- Fire pixel on order completion
- Test the integration
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.
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 (
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
-
Add test token to your landing page URL:
https://yoursite.com/landing?sovReqToken=test-token-123
-
Check localStorage in browser dev tools:
localStorage.getItem('sovReqToken') // Should return: test-token-123
-
Complete test order and check Network tab for pixel request to:
https://press-order-api.sovendus.com/ext/image?sovReqToken=test-token-123
Only fire the pixel if a token exists
This ensures you only track users who came from Sovendus partners.
The token parameter name can be customized. Contact Sovendus if you need to change sovReqToken.
Contact your Sovendus representative if you have questions or need assistance with the integration.