Skip to content

Commit 65e9b6d

Browse files
Merge pull request #64 from plotly/remove-intercom
Remove intercom
2 parents 9396847 + 4b8ad5c commit 65e9b6d

File tree

4 files changed

+0
-60
lines changed

4 files changed

+0
-60
lines changed

.circleci/config.yml

-3
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ jobs:
9494
rm -f 'snapshots/all_static/images/Plotly-feed2.html'
9595
rm -f 'snapshots/all_static/images/Plotly.html'
9696
rm -f 'snapshots/all_static/images/Plotly-Feed.html'
97-
sed -i.bkp 's/drift\.load/console\.log/g' snapshots/*.html
98-
sed -i.bkp 's/drift\.load/console\.log/g' snapshots/*/*.html
99-
sed -i.bkp 's/drift\.load/console\.log/g' snapshots/*/*/*.html
10097
rm -f snapshots/*.bkp
10198
rm -f snapshots/*/*.bkp
10299
rm -f snapshots/*/*/*.bkp

_includes/layouts/drift-tag.html

-49
This file was deleted.

_includes/layouts/head.html

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444

4545
<!-- Google Tags-->
4646
{% include layouts/google-tag-head.html %}
47-
{% include layouts/drift-tag.html %}
4847

4948

5049
<!-- META TAGS -->

_layouts/base.html

-7
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,6 @@ <h1>
9292

9393
{% include layouts/_footer-main.html %}
9494

95-
{% if page.language == "r" or page.language == "python" %}
96-
<script>
97-
window.intercomSettings = { app_id: "anwi88es" };
98-
</script>
99-
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/anwi88es';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
100-
{% endif %}
101-
10295
</body>
10396

10497
</html>

0 commit comments

Comments
 (0)