Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 7990a81

Browse files
authored
Merge pull request #176 from DataRecce/adding_vector_deanon_tracking
Adding Vector.co tracking pixel to website
2 parents e66b222 + ca66e4d commit 7990a81

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

material/overrides/main.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55

66
<!-- Extra style sheets (can't be set in mkdocs.yml due to content hash) -->
77

8+
<!-- Vector Analytics Tracking Code -->
9+
<script>
10+
!function(e,r){try{if(e.vector)return void console.log("Vector snippet included more than once.");var t={};t.q=t.q||[];for(var o=["load","identify","on"],n=function(e){return function(){var r=Array.prototype.slice.call(arguments);t.q.push([e,r])}},c=0;c<o.length;c++){var a=o[c];t[a]=n(a)}if(e.vector=t,!t.loaded){var i=r.createElement("script");i.type="text/javascript",i.async=!0,i.src="https://cdn.vector.co/pixel.js";var l=r.getElementsByTagName("script")[0];l.parentNode.insertBefore(i,l),t.loaded=!0}}catch(e){console.error("Error loading Vector:",e)}}(window,document);
11+
vector.load("fa95ac47-4404-4484-97bc-706ad77c5e37");
12+
</script>
13+
814
{% endblock %}
915

1016
<!-- Announcement bar -->
@@ -41,4 +47,3 @@
4147
<!-- Extra JavaScript (can't be set in mkdocs.yml due to content hash) -->
4248
<script src="{{ 'assets/js/custom.js' | url }}"></script>
4349
{% endblock %}
44-

0 commit comments

Comments
 (0)