splithub_property_create
Add an analytics property to splithub.config.ts with a generated or custom ID, then wire it into SplitHubProvider or the sh.js script tag so events and conversions are tracked.
Instructions
Add an analytics property to splithub.config.ts, checked by reloading the file. Its id is generated (sh-x1h78w) unless given; it comes back as property. Events go only to a property named explicitly: wire (pageviews on load and every route change, and every track() call) or data-property="" on the sh.js script tag. Every goal of the project counts as a conversion unless goals narrows them. In cloud mode it is created in the cloud at once (live: applied), so no push is needed: tell the user to deploy. If live names a missing API key, log in and call again (or push). In an app (React Native, Expo) screens are page events: the screen tracker or useScreen(name) sends them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | omit to get a generated id | |
| kind | No | app: a mobile or desktop app (screens, versions, retention); default: app in an app project, else site | |
| name | No | ||
| goals | No | ||
| status | No | ||
| description | No |