Skip to content

Commit

Permalink
removed more mixpanel stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelmdLow committed Oct 21, 2023
1 parent d37c7fd commit fda45e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ubyssey/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,15 @@
ga('create', 'UA-2313592-2', 'auto');
ga('send', 'pageview');
</script>

{% comment %}
<script type="text/javascript">
(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
mixpanel.init("4941b226d03a988d5f2bc8fea8e0e70d");
</script>
{% endcomment %}

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.mcustomscrollbar/3.1.5/jquery.mCustomScrollbar.min.css" />
Expand Down
5 changes: 3 additions & 2 deletions ubyssey/templates/ubyssey/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
Warning: The below script is undocumented, but errors are thrown when using a Full-Width style article if it is
deleted.
TODO: figure out what it is, and document it
{% endcomment %}

<script type="text/javascript">
(function (e, a) {
if (!a.__SV) {
Expand Down Expand Up @@ -211,7 +211,8 @@
})(document, window.mixpanel || []);
mixpanel.init("4941b226d03a988d5f2bc8fea8e0e70d");
</script>

{% endcomment %}

{% comment %} <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> {% endcomment %}
<link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.mcustomscrollbar/3.1.5/jquery.mCustomScrollbar.min.css" />
<script src="//cdn.jsdelivr.net/jquery.mcustomscrollbar/3.1.5/jquery.mCustomScrollbar.concat.min.js"
Expand Down

0 comments on commit fda45e6

Please sign in to comment.