Despite its rapid growth in recent years, the Additive Manufacturing User Group is still just that: A user group of amazingly talented individuals with long experience with every aspect of the technology. It’s the reason we love being there. So while we showed off our Manufacturing Execution System and 3Diax Modular Platforms in the Exhibits, we were keen to build on the ethos of AMUG during the sessions. The result was a roundtable on the challenges companies are experiencin
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"
});
}
});