The DialogShift tracking pixel captures booking completions and must be implemented on the booking confirmation page.
Pixel URL
https://ibe.prod.co25.net/pixel?clientid=${clientid}&conversionType=${conversionType}&amount=${amount}¤cy=${currency}&rooms=${rooms}&nights=${nights}
Parameters
Google Tag Manager Integration
Prerequisites
Client ID
Receive DialogShift Client ID
E-Commerce Tracking
Working GTM/GA setup with Data Layer
Data Layer
Booking data available in Data Layer
Implementation
<script>
var pixel = document.createElement("img");
pixel.src = "https://ibe.prod.co25.net/pixel?clientid=YOUR_CLIENT_ID&conversionType=ibe&amount={{TotalCost}}¤cy={{SelectedCurrCode}}&rooms={{RmQty}}&nights={{nights}}";
pixel.style = "display: none;";
document.body.appendChild(pixel);
</script>
Replace YOUR_CLIENT_ID with your actual DialogShift Client ID
Data Layer Example
dataLayer.push({
'event': 'booking_complete',
'TotalCost': '299.50',
'SelectedCurrCode': 'EUR',
'RmQty': 2,
'nights': 3
});
Alternative Implementations
Server-Side Rendering
<script>
var pixel = document.createElement("img");
pixel.src = "https://ibe.prod.co25.net/pixel?clientid=<?php echo $clientid; ?>&conversionType=ibe&amount=<?php echo $amount; ?>¤cy=<?php echo $currency; ?>&rooms=<?php echo $rooms; ?>&nights=<?php echo $nights; ?>";
pixel.style = "display: none;";
document.body.appendChild(pixel);
</script>
Testing
GTM Preview
Activate preview mode and perform test booking
Network Tab
Check requests to ibe.prod.co25.net
Parameter Check
Verify transmitted values
Limitations
For technical reasons, the tracking pixel cannot capture revenue from Instagram, Facebook or WhatsApp users.
Support
For questions, contact DialogShift support with:
- Your Client ID
- URL of the booking confirmation page
- Screenshots of GTM configuration
- Screenshot of the tracking request (Network Tab)