Google Tag Manager
Installing relaybell with a Google Tag Manager Custom HTML tag.
Add a Custom HTML tag in GTM, set to fire on All Pages:
HTML
<script src="https://relaybell.com/relaybell-sdk.js"></script>
<script>
window.addEventListener('load', function () {
RelayBell.init({ projectId: "YOUR_PROJECT_ID", apiBase: "https://relaybell.com" });
});
</script>To send the events you already track in GTM (your dataLayer events) to relaybell too, see Auto-capture & Google Tag Manager.