app/views/home/marketing/_book_demo_embed.html.erb
<!-- Google Calendar Appointment Scheduling begin -->
<link href="https://calendar.google.com/calendar/scheduling-button-script.css" rel="stylesheet">
<script src="https://calendar.google.com/calendar/scheduling-button-script.js" async></script>
<script>
(function() {
var target = document.currentScript;
window.addEventListener('load', function() {
calendar.schedulingButton.load({
url: 'https://calendar.google.com/calendar/appointments/schedules/AcZssZ2hxP60IqpJDhKRaMGs5juHqOiFhQ53jVYveruWxvvuZYhMUTxSi6okJoTWYz3AX2LzCDo4HT3C?gv=true',
color: '<%= Colours::TURQUOISE %>',
label: '<%= label %>',
target,
});
btns = document.getElementsByClassName('qxCTlb');
Array.prototype.forEach.call(btns, function(btn) {
btn.classList.add('btn', 'bg-positive');
});
});
})();
</script>
<!-- end Google Calendar Appointment Scheduling -->