From our latest Press Releases to helpful listicles, read our blog here.
Software Integrations
Authentise Flows integrates with a variety of industry-leading software. Find out more here.
Customer Stories
Find out how we have helped our customers - from big budget savings to helping find extra time in your process.
Whitepapers
Read Authentises latest Whitepapers here.
Help
From setup guides to API documentation, we have a comprehsive support documentaiton system.
Webinar Videos
From helpful videos on how to use our software to discussing how our products have helped our customers.
bottom of page
window.addEventListener("message", function (event) {
// Inspect event.data in console to see what the bot emits
if (!event.data) return;
// Log all messages to see what your specific bot emits upon submission
console.log("Chatbot message received:", event.data);
// Check if the event matches a lead/submission event from the bot
// (Replace 'form_submit' with the exact event name your chatbot emits)
if (
event.data.type === "form_submit" ||
event.data.action === "lead_submitted" ||
JSON.stringify(event.data).includes("lead")
) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: "chat_interaction",
element_id: "chatbot",
form_id: "chatbot",
action: "form_submission"
});
}
});