mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 03:20:27 +00:00
use dashboard domain in tracking snippet
This commit is contained in:
parent
1b06bd3179
commit
7cf241ecf0
@ -127,7 +127,7 @@ class SiteSettings extends Component {
|
||||
m=f.getElementsByTagName('script')[0];
|
||||
o.async=1; o.src=t; o.id='fathom-script';
|
||||
m.parentNode.insertBefore(o,m)
|
||||
})(document, window, '//stats.usefathom.com/tracker.js', 'fathom');
|
||||
})(document, window, '//${document.domain}/tracker.js', 'fathom');
|
||||
fathom('set', 'siteId', '${props.site.trackingId}');
|
||||
fathom('trackPageview');
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user