Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tag to pass parameters:
- <script type="text/javascript">
- if ('yaCounter18831583' in window) {
- yaCounter18831583.params({
- custom: {
- checkin: {{checkInISODate}},
- checkout: {{checkOutISODate}},
- destinationId: {{pathId}},
- destinationName: {{pathName}},
- standardDateRange: {{isStandardDateRange}},
- guestCount: {{guestCount}},
- stars: {{starCategory}},
- daysToDeparture: {{daysToCheckIn}},
- stayLength: {{lengthOfStay}},
- rating: {{ratingCategory}},
- roomType: {{roomTypeName}},
- iGeoDistanceItem: {{itemId}},
- destinationConcept: {{destinationConcept}},
- }
- });
- }
- window.dataLayer.push({ "ecommerce": {
- "detail": {
- "products": [
- {
- "id": {{itemId}}
- },
- ]
- }
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement