forked from pythonprobr/pythonpro-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_scripts.html
More file actions
15 lines (13 loc) · 721 Bytes
/
_scripts.html
File metadata and controls
15 lines (13 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% load static %}
<script src="{% static 'js/sentry.5.3.0.min.js' %}" crossorigin="anonymous"></script>
<script type="application/javascript">
Sentry.init({ dsn: '{{ SENTRY_DSN }}' });
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-44718512-1"></script>
{# Google Tag Manager#}
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{GOOGLE_TAG_MANAGER_ID}}');</script>
{# End Google Tag Manager#}