Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce38fe7

Browse files
author
Joseph Damiba
authored
Merge pull request plotly#1236 from plotly/add_drift
adding drift
2 parents 7eb9bec + 9e76191 commit ce38fe7

File tree

9 files changed

+65
-0
lines changed

9 files changed

+65
-0
lines changed

_includes/drift-tag.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<script id="drift">
2+
!(function() {
3+
var t = (window.driftt = window.drift = window.driftt || []);
4+
if (!t.init) {
5+
if (t.invoked)
6+
return void (
7+
window.console &&
8+
console.error &&
9+
console.error("Drift snippet included twice.")
10+
);
11+
(t.invoked = !0),
12+
(t.methods = [
13+
"identify",
14+
"config",
15+
"track",
16+
"reset",
17+
"debug",
18+
"show",
19+
"ping",
20+
"page",
21+
"hide",
22+
"off",
23+
"on"
24+
]),
25+
(t.factory = function(e) {
26+
return function() {
27+
var n = Array.prototype.slice.call(arguments);
28+
return n.unshift(e), t.push(n), t;
29+
};
30+
}),
31+
t.methods.forEach(function(e) {
32+
t[e] = t.factory(e);
33+
}),
34+
(t.load = function(t) {
35+
var e = 3e5,
36+
n = Math.ceil(new Date() / e) * e,
37+
o = document.createElement("script");
38+
(o.type = "text/javascript"),
39+
(o.async = !0),
40+
(o.crossorigin = "anonymous"),
41+
(o.src = "https://js.driftt.com/include/" + n + "/" + t + ".js");
42+
var i = document.getElementsByTagName("script")[0];
43+
i.parentNode.insertBefore(o, i);
44+
});
45+
}
46+
})();
47+
drift.SNIPPET_VERSION = "0.3.1";
48+
drift.load("4t5t45cv8ey2");
49+
</script>

_includes/head.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636

3737
<!-- Google Tags-->
3838
{% include google-tag-head.html %}
39+
{% include drift-tag.html %}
40+
3941

4042
<!-- META TAGS -->
4143
{% include seo.html %}

_posts/dashboards/marketplace-dashboards/2015-08-11-demand-side-kpi-metrics-dashboard-index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<html>
1515
<head>
1616
{% include google-tag-head.html %}
17+
{% include drift-tag.html %}
18+
1719

1820
{% include seo.html %}
1921

_posts/dashboards/marketplace-dashboards/2015-08-11-marketplace-kpi-metrics-dashboard-index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<html>
1515
<head>
1616
{% include google-tag-head.html %}
17+
{% include drift-tag.html %}
18+
1719

1820
{% include seo.html %}
1921

_posts/dashboards/marketplace-dashboards/2015-08-11-supply-side-kpi-metrics-dashboard-index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<html>
1515
<head>
1616
{% include google-tag-head.html %}
17+
{% include drift-tag.html %}
18+
1719

1820
{% include seo.html %}
1921

_posts/dashboards/marketplace-dashboards/demand-side-kpi-metrics-dashboard.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<html>
1515
<head>
1616
{% include google-tag-head.html %}
17+
{% include drift-tag.html %}
18+
1719

1820
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script src="./Layouts » Hero-Thirds/jsapi"></script>
1921
<title>Marketplace KPI Dashboard</title>

_posts/ipython-notebooks/credit_risk/credit_risk-R.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<html>
33
<head>
44
{% include google-tag-head.html %}
5+
{% include drift-tag.html %}
6+
57

68
<meta charset="utf-8" />
79
<title>credit_risk-R</title>

_posts/python/legacy/dashboard/2015-06-30-dashboard-api.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ <h4 id="Add-a-Box">Add a Box<a class="anchor-link" href="#Add-a-Box">&#194;&#182
407407
<html>
408408
<head>
409409
{% include google-tag-head.html %}
410+
{% include drift-tag.html %}
411+
410412

411413
<style>
412414
body {

_posts/python/scientific/alpha-shapes/Plotly-Mesh3d.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<html>
33
<head>
44
{% include google-tag-head.html %}
5+
{% include drift-tag.html %}
6+
57

68
<meta charset="utf-8" />
79
<title>Plotly-Mesh3d</title>

0 commit comments

Comments
 (0)