Installation Guidelines
Ghost CMS
How to add Faurya to your Ghost CMS site.
Add Faurya to your Ghost CMS site
Follow these steps to integrate Faurya analytics into your Ghost CMS site.
Add tracking script using Code Injection
Ghost provides a built-in Code Injection feature that makes it easy to add scripts to your site.
- Log in to your Ghost admin dashboard
- Go to Settings > Code Injection
- In the Site Header section, paste your Faurya tracking script:
<script
defer
data-website-id="YOUR_WEBSITE_ID"
data-domain="yourdomain.com"
src="https://faurya.com/js/script.js"
></script>Replace
yourdomain.comwith your website's root domain.
- Click Save
Alternative: Using a custom theme
If you're using a custom theme, you can add the script directly to your theme's default.hbs file:
- Go to Design > Theme Editor
- Open
default.hbs - Add the script just before the closing
</head>tag - Save your changes
Verify installation
After implementing either method:
- Visit your live website
- Check your Faurya dashboard for incoming data
- It might take a few minutes for the first pageviews to appear
For advanced configuration options like localhost tracking, custom API endpoints, or cross-domain setup, see the script configuration reference.
Custom code changes in Ghost appear on the published site, not in the preview.