BOOK ONLINE
window.addEventListener(“message”, receiveMessage); function receiveMessage(e) { if (typeof e.data !== ‘string’) return; if (e.data.search(‘cliniko-bookings-page:confirmed’) > -1) { var dataLayer = window.dataLayer || (window.dataLayer = []); dataLayer.push({ ‘event’: ‘clinikoBookingCompleted’ }); } }