.toLowerCase();
const href = element.href ? element.href.toLowerCase() : '';
if (text.includes('whatsapp') || href.includes('wa.html')) {
return 'whatsapp';
}
if (text.includes('contact us') || text.includes('contact')) {
return 'contact_us';
}
if (text.includes('inquiry') || text.includes('enquiry')) {
return 'inquiry';
}
if (text.includes('call') || href.startsWith('tel:')) {
return 'call';
}
// 4. Fallback to a generic link type if it's a link but no specific type was found.
if (element.tagName === 'A' && element.closest('nav')) {
return 'nav_link';
}
if (element.tagName === 'A' && element.closest('footer')) {
return 'footer_link';
}
// 5. Default to 'other' if no match is found.
return 'other';
}
// --- Event Listener ---
document.addEventListener('click', (event) => {
// Find the closest link, button, or an element with a data-click-type.
const targetElement = event.target.closest('a, button, [data-click-type]');
if (targetElement) {
const clickData = {
domain_name: COMPANY_DOMAIN,
page_path: window.location.pathname,
click_type: getClickType(targetElement),
element_text: targetElement.textContent.trim() || targetElement.innerText.trim() || targetElement.href || targetElement.id || 'N/A'
};
// Send the data to your API.
sendClickData(clickData);
}
});
})();
Metal Laser Cutting Manufacturers and Suppliers in Chennai near me
Metal Laser Engraving Manufacturers and Suppliers in Chennai near me
Chennai Laser Tech provides custom Metal Laser Engraving Manufacturer, Fabrication for
industrial, commercial, and architectural applications. We manufacture clear
machine guards, safety covers, protective enclosures, display panels, boxes,
partitions, and formed components to suit your drawings and site requirements.
Metal Laser Engraving and Fabrication Job Work in Chennai near mw offers excellent optical clarity, a clean finish, and reliable
weather resistance, while polycarbonate delivers high impact strength and
dependable protection in demanding environments.
Our team handles Job Work in Metal Laser Engraving Services Chennai, drilling, bending, bonding, polishing, and complete
assembly with careful attention to dimensions and finish. Whether you need a
single prototype or repeat production, we select the appropriate material
thickness and fabrication method to deliver durable, accurate, and easy-to-
maintain products from our Chennai facility.