In the run-up to the New Year, we’re summarizing our key learnings of 2017 into a quick checklist for your 2018 Additive Manufacturing IT endeavors. Taking these seriously will reduce your Total Cost of Ownership and make sure you are production ready. Let’s start with the easiest: Performance Measurement The simplest initiative is to start measuring your Overall Equipment Efficiency, Failed Build levels or other Key Performance Indicators using data from your machines. With
Dec 20, 20172 min read
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"
});
}
});