How can I add Drift to my website?

Drift is a tool that helps businesses to have a conversion with their website visitors. It adds a message icon to the corner of your website and allows visitors to start conversion:

1. Get Drift Javascript tracking code

Follow the steps documented by Drift here:

2. Extract the Drift Id from Javascript code

Drift will give you a snippet like below

<!-- Start of Async Drift Code -->


"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 =;

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 = "" + n + "/" + t + ".js";

var i = document.getElementsByTagName("script")[0];

i.parentNode.insertBefore(o, i);




drift.SNIPPET_VERSION = '0.3.1';



<!-- End of Async Drift Code -->

At the end of the script, you will see your Drift Id special for your website. Copy that id.

3. Open Landly project Settings

Go to Landly, choose the project you want to add Drift and go to Settings > Integrations. In that page paste your drift id to the Drift input and it will be saved automatically.

Note: In order to see the integration on your website, you must publish your website.

Made with Landly