Django
1.Site analytics
- Open the site in Studio and copy the Embed snippet.
- Open your base template (often
base.html). - Paste the snippet immediately before
</body>. - Deploy or restart as you normally would for template changes.
- Load a public page and confirm a visit in Site Analytics.
If some apps use a different base template, add the snippet there too or extend the shared base.
2.Blog
- Open the site in Studio and go to Settings β Domain.
- Connect
blog.yourdomain.com, add the CNAME Studio shows, then verify. - In the base template navigation, link Blog to
https://blog.yourdomain.com. - Optional: add a redirect from
/blog/to that host inurls.py. - To render posts inside Django instead, open Settings β API and use the public list and post endpoints.