Vue.js
1.Site analytics
- Open the site in Studio and copy the Embed snippet.
- Open
index.htmlat the app root, or the shared layout component that wraps every route. - Paste the snippet once before
</body>. - Build and deploy.
- Load a public route and confirm a visit in Site Analytics.
Avoid adding the script inside a per-page component that mounts more than once.
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 app navigation, link Blog to
https://blog.yourdomain.com. - To render posts inside the Vue app instead, open Settings β API and use the public list and post endpoints.