mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Add Snitcher trial script tag to fleetdm.com (#3628)
* add script tag to <head> * add script to customer layout
This commit is contained in:
parent
7bb11b2bbd
commit
c36bf38f46
2 changed files with 19 additions and 1 deletions
9
website/views/layouts/layout-customer.ejs
vendored
9
website/views/layouts/layout-customer.ejs
vendored
|
|
@ -31,6 +31,15 @@
|
|||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JC3DRNY1GV"></script>
|
||||
<script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-JC3DRNY1GV');</script>
|
||||
<%/* Snitcher analytics code */%>
|
||||
<script>
|
||||
!function(s,n,i,t,c,h){s.SnitchObject=i;s[i]||(s[i]=function(){
|
||||
(s[i].q=s[i].q||[]).push(arguments)});s[i].l=+new Date;c=n.createElement(t);
|
||||
h=n.getElementsByTagName(t)[0];c.src='//snid.snitcher.com/8416878.js';
|
||||
h.parentNode.insertBefore(c,h)}(window,document,'snid','script');
|
||||
|
||||
snid('verify', '8416878');
|
||||
</script>
|
||||
<% }
|
||||
/* Otherwise, any such scripts are excluded, and we instead inject a
|
||||
robots/noindex meta tag to help prevent any unwanted visits from search engines. */
|
||||
|
|
|
|||
11
website/views/layouts/layout.ejs
vendored
11
website/views/layouts/layout.ejs
vendored
|
|
@ -27,10 +27,19 @@
|
|||
<% /* Certain scripts, normally analytics tools like Google Tag Manager and
|
||||
Google Analytics, should only be included in production: */
|
||||
if (sails.config.environment === 'production') { %>
|
||||
<% /* Google Analytics, Google Tag Manager, etc. */ %>
|
||||
<% /* Google Analytics, Google Tag Manager, Snitcher etc. */ %>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JC3DRNY1GV"></script>
|
||||
<script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-JC3DRNY1GV');</script>
|
||||
<%/* Snitcher analytics code */%>
|
||||
<script>
|
||||
!function(s,n,i,t,c,h){s.SnitchObject=i;s[i]||(s[i]=function(){
|
||||
(s[i].q=s[i].q||[]).push(arguments)});s[i].l=+new Date;c=n.createElement(t);
|
||||
h=n.getElementsByTagName(t)[0];c.src='//snid.snitcher.com/8416878.js';
|
||||
h.parentNode.insertBefore(c,h)}(window,document,'snid','script');
|
||||
|
||||
snid('verify', '8416878');
|
||||
</script>
|
||||
<% }
|
||||
/* Otherwise, any such scripts are excluded, and we instead inject a
|
||||
robots/noindex meta tag to help prevent any unwanted visits from search engines. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue