Analytics & Custom Scripts
Beacon does not include built-in analytics or third-party tracking. Your visitors’ data is not collected, shared, or processed by Beacon in any way.
If you want to track visits, clicks, or other activity on your Beacon page, you can add your own analytics provider.
Adding Analytics
Section titled “Adding Analytics”In the Beacon setup wizard, paste your analytics snippet into the Analytics Snippet field. This field is in the main setup flow, not in the Advanced section.
Your snippet is injected directly into the <head> of your Beacon page. It runs exactly as written with no modifications.
Examples
Section titled “Examples”Plausible
<script defer data-domain="yourdomain.com" src="https://plausible.io/js/script.js"></script>Umami
<script defer src="https://your-umami-instance.com/script.js" data-website-id="your-site-id"></script>Google Analytics
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXX"></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXX');</script>Fathom
<script src="https://cdn.usefathom.com/script.js" data-site="XXXXXXX" defer></script>Any provider that uses a <script> tag or <meta> tag will work. This includes Meta Pixel, TikTok Pixel, Hotjar, Microsoft Clarity, PostHog, Mixpanel, Simple Analytics, and others.
Custom Head Scripts
Section titled “Custom Head Scripts”The Advanced section of the wizard includes a Custom Head Scripts field. Use this for anything else you want in your page’s <head> that is not analytics. Examples:
- Site verification meta tags (Google Search Console, Pinterest, etc.)
- Custom font embeds
- Chat widget scripts
- Open Graph or social meta overrides
This field works the same way as the Analytics Snippet field. Content is injected into <head> as written, after the analytics snippet.
What Beacon does not do
Section titled “What Beacon does not do”- Beacon does not add any tracking, cookies, or analytics of its own.
- Beacon does not modify, wrap, or proxy your analytics snippet.
- Beacon does not validate your snippet. If you paste broken HTML, it will be injected as-is.