JSFiddle - React, Tailwind, and code Playground
HTML
<!-- Google Analytics: Event – 'OSW - Scheduled Appointment Confirmation Page' -->
<script>
function GAEventTracking() {
console.log("The code has loaded.");
gtag('event', 'On Load', {
'event_category': 'Open Scheduling Widget,
'event_label': 'OSW - Scheduled Appointment Confirmation Page',
'value': < value >
});
console.log("The code has executed, and the eaglet has landed.");
}
GAEventTracking();
</script>