Fathom Analytics Fathom Analytics

How to use Fathom Analytics with Vue.js

Using Fathom Analtics with Vue.js requires no extra configuration. If you have some sort of automatic build set-up, you'll need to find a way to get the script onto the page. Otherwise, the following code, added to your index.html page will do the trick.

<script src="https://cdn.usefathom.com/script.js" spa="auto" data-site="ABCDEFG" defer></script>

Further customization

To learn about all the options we offer, read our advanced documentation here.