We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f7ce58 commit c664d9bCopy full SHA for c664d9b
layouts/partials/head/analytics.html
@@ -8,4 +8,17 @@
8
gtag('config', 'G-RXLRS09RMZ');
9
</script>
10
11
-<script src="https://cdn.usefathom.com/script.js" data-site="HBACGPGP" defer></script>
+<script src="https://cdn.usefathom.com/script.js" data-site="HBACGPGP" defer></script>
12
+
13
+<script>
14
+window.addEventListener('load', (event) => {
15
+ document.querySelectorAll('a').forEach(item => {
16
+ let url = item.getAttribute('href');
17
+ if (url && url.startsWith('https://dbgate.io')) {
18
+ item.addEventListener('click', event => {
19
+ fathom.trackEvent('moveto-premium');
20
+ });
21
+ }
22
23
+});
24
+</script>
0 commit comments