React Native / Expo
1.Site analytics
Blogdat Site Analytics is a web tracker. Use it on Expo web, or inside a WebView that loads your site pages.
- Open the site in Studio and copy the Embed snippet.
- For Expo web, paste the snippet in the web document shell (
index.htmlor the root web layout) before</body>. - For native apps, load only pages that already include the snippet (your website or blog URLs in a WebView).
- Rebuild or reload the web target.
- Confirm a visit in Site Analytics after loading a page that contains the snippet.
Native-only screens without a WebView do not send Site Analytics pageviews.
2.Blog
The blog is a website, not a native screen.
- Open the site in Studio and go to Settings β Domain.
- Connect
blog.yourdomain.comand add the CNAME Studio shows. - Verify the domain in Studio.
- Open
https://blog.yourdomain.comfrom the app with an in-app browser or a WebView.