Skip to main content
Skip table of contents

Insurifind Widget Installation

The Insurifind Widget can be deployed as an on-page asset or through a tag manager like Google Tag Manager (GTM).

Previews of the Widget’s below implementations can be seen at

Deploying HTML

Be sure to change the `Publisher` Value to match your Publisher ID in our HasOffers Platform to ensure proper tracking!

Example 1: Long Rectangle

<div id="root1"></div>
    (function (w, d, s, o, js, fjs) {
        w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments); };
        js = d.createElement(s);
        js.src = "";
        js.async = !0;
        fjs = document.body;
        if (fjs) {
        } else {
            fjs = d.getElementsByTagName(s)[0];
            fjs.parentElement.insertBefore(js, fjs);
    })(window, document, "script", "insurifindWidget");
    insurifindWidget("init", {
        targetElementId: "root1",
        // zipcode: 92024,
        affiliate: "1569",

Example 2: Inline Square

<div id="root2"></div>
    (function (window, document, locationId) {
        var iframe = document.createElement('iframe');
        iframe.setAttribute('frameBorder', 0)
        iframe.setAttribute('width', 300)
        iframe.setAttribute('height', 250)
        var html = '<head><style>body { margin: 0; font-family: Helvetica; text-align: center; }</style></head><body><div id="root1"></div>\x3Cscript type="text/javascript">(function (w, d, s, o, js, fjs) {w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments); };js = d.createElement(s);js.src = "";js.async = !0;fjs = document.body;if (fjs) {fjs.appendChild(js);} else {fjs = d.getElementsByTagName(s)[0];fjs.parentElement.insertBefore(js, fjs);}})(window, document, "script", "insurifindWidget");\x3C/script>\x3Cscript>insurifindWidget("init", {targetElementId: "root1",affiliate: "1569"});\x3C/script></body>';

        if (locationId) {
        } else {
    })(window, document, "root2");

Example 3: Load into an iFrame

<iframe src=""  width="300" height="250" frameBorder="0"></iframe>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.