Chelly

Sites
Documentation
Sites
Create Your First Site
Blocks
Custom Domain
Inject HTML
Forms
Getting started with Forms
Supported properties
Sync Database Properties
Sites

Inject HTML

Add analytics and more by injecting custom HTML

Chelly allows you to inject custom HTML into your website:
notion image
You can use this to inject code for your analytics scripts, such as Google Analytics:
html
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=TRACKING_ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'TRACKING_ID');
</script>
Replacing the TRACKING_ID above with your Google Analytics tracking ID.