Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'booking',
- 'clinicLocation': clinic_location //add clinic location here
- 'booking': booking //add service category booked here
- 'categorySummary': category_summary //add sub category booked here
- 'bookingCode': booking_code //add booking confirmation here
- 'existingCustomer': existing_customer //add 1 for yes, 0 for no here
- });
- </script>
- This is what should show:
- event: 'online booking'
- clinicLocation: 'bundaberg' //location booking for
- booking: [
- {
- name: 'Underarms', //sub-cateogry product
- category: 'Laser Hair Removal' //primary category product
- unfiltered_name: 'Underarms (Laser Hair Removal)' //this was the output and Alan, split it up like above
- },
- ],
- category_summary: ['Laser Hair Removal'],
- booking_codes: [4438781] //this is the booking reference number
Add Comment
Please, Sign In to add comment