-
-
Save micahwalter/517cfb56eb8d032a58c96bf214c332fd to your computer and use it in GitHub Desktop.
var fathomSnippet = document.createElement('script'); | |
fathomSnippet.defer = true; | |
fathomSnippet.setAttribute('data-site', '<your-site-code>'); | |
fathomSnippet.src = 'https://cdn.usefathom.com/script.js'; | |
document.head.appendChild(fathomSnippet); |
Hi Micah, I have tried to use your code and done all steps, but I still see no data coming up in fathom. Can you help maybe? I have a custom domain. thanks
I have not tried this with a custom domain. I thought Fathom deprecated those? Did you deploy the file? What do you see in the browser source?
many thanks for answering
I have tried with no custom domain and with my custom domain.
the file is in my obsidian root folder in my vault. I also see I can publish the file, and I do this.
IN the browser source I cant see the script. So I think Im doing something wrong :)
many thanks for answering
I have tried with no custom domain and with my custom domain. the file is in my obsidian root folder in my vault. I also see I can publish the file, and I do this. IN the browser source I cant see the script. So I think Im doing something wrong :)
This sounds more like an Obsidian Publish issue. I would try the forums over there. Feel free to reference this Gist.
Hi Micah,
I have tried to use your code and done all steps, but I still see no data coming up in fathom.
Can you help maybe? I have a custom domain. thanks