Setting Up via GTM

You can get started with web push notifications in less than 5 minutes using Google Tag Manager. Here is how you can do it:

1. Sign in to your Google Tag Manager account and click on 'New Tag'.

1049

2. Start by giving your tag an appropriate name. For instance - iZooto Tag

993

3. Select the 'Custom HTML Tag' option.

1065

4. From your iZooto Panel, copy the iZooto JS and place it under <Custom HTML> and Select the Trigger as All Pages.

812

5. The tag should be published to production to ensure it works.

6. Uploading Files

Two files - izooto.html and service-worker.js need to be uploaded to the root folder of your website. They should be accessible as:

  • https://yoursite.com/izooto.html
  • https://yoursite.com/service-worker.js

/* "use strict"; !function() { var t = window.driftt = window.drift = window.driftt || []; if (!t.init) { if (t.invoked) return void (window.console && console.error && console.error("Drift snippet included twice.")); t.invoked = !0, t.methods = [ "identify", "config", "track", "reset", "debug", "show", "ping", "page", "hide", "off", "on" ], t.factory = function(e) { return function() { var n = Array.prototype.slice.call(arguments); return n.unshift(e), t.push(n), t; }; }, t.methods.forEach(function(e) { t[e] = t.factory(e); }), t.load = function(t) { var e = 3e5, n = Math.ceil(new Date() / e) * e, o = document.createElement("script"); o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "https://js.driftt.com/include/" + n + "/" + t + ".js"; var i = document.getElementsByTagName("script")[0]; i.parentNode.insertBefore(o, i); }; } }(); drift.SNIPPET_VERSION = '0.3.1'; drift.load('udrm9k99ykdg'); */