Terms of Service

The terms that govern your use of our website and the professional services provided by Enlightened Business Solutions.

/** * EBS SalesIQ Visitor Identification * ------------------------------------ * Add this to your WordPress site via: * Plugins → Insert Headers and Footers → Scripts in Footer * (or any "custom scripts" plugin) * * When a lead clicks through from an outreach email, their email is passed * as ?ebs_visitor=email@example.com — this script reads it and identifies * them in Zoho SalesIQ so you can see exactly who's on your site. */ (function() { function getParam(name) { var url = window.location.search; var regex = new RegExp('[?&]' + name + '=([^&#]*)'); var match = regex.exec(url); return match ? decodeURIComponent(match[1].replace(/+/g, ' ')) : null; } var visitorEmail = getParam('ebs_visitor'); if (visitorEmail) { // Store in sessionStorage so it persists across pages during this visit sessionStorage.setItem('ebs_visitor_email', visitorEmail); } else { // Check if we identified them on a previous page in this session visitorEmail = sessionStorage.getItem('ebs_visitor_email'); } if (visitorEmail) { // Wait for SalesIQ to be ready, then identify the visitor var attempts = 0; var interval = setInterval(function() { attempts++; if (typeof $zoho !== 'undefined' && $zoho.salesiq && $zoho.salesiq.visitor) { $zoho.salesiq.visitor.email(visitorEmail); $zoho.salesiq.visitor.info({ "Lead Source" : "Email Outreach", "Campaign" : "Gold Coast Manufacturing" }); clearInterval(interval); } if (attempts > 20) clearInterval(interval); // give up after 10s }, 500); } })();