@siteoshq/cli 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/dist/cli.js +468 -98
- package/dist/cli.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -281,3 +281,26 @@ Definitions include a generated SHA-256 `sourceExportId`; runtime sends it as `c
|
|
|
281
281
|
A changed field requires a normal build/release, not a second hand-edited validation schema.
|
|
282
282
|
`forms deployment-key list|revoke` manages release keys; submission keys cannot publish.
|
|
283
283
|
See the SiteOS Forms skill for the portable generator and version serialization contract.
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
## Website Analytics
|
|
287
|
+
|
|
288
|
+
The source CLI includes `siteos analytics` for an explicitly connected Project environment. Check
|
|
289
|
+
`siteos analytics --help` against the installed package and server before use; source availability
|
|
290
|
+
does not establish publication. Start with `project status`, `analytics status` and
|
|
291
|
+
`analytics installation`. Use `--environment <slug>` when selecting the target explicitly.
|
|
292
|
+
|
|
293
|
+
`analytics settings show` returns the current revision. `analytics settings set --revision <n>`
|
|
294
|
+
accepts partial `--enabled true|false`, `--cookie-events true|false` and
|
|
295
|
+
`--minimal-realtime true|false` updates. Analytics collects independently by default. Native consent
|
|
296
|
+
control belongs to Cookie's published `integrations.siteosAnalytics` switch in the same Project
|
|
297
|
+
environment; attachment or a draft save does not enable it. External CMP gating is optional and
|
|
298
|
+
must be configured before runtime initialization. Privacy signals and full opt-out still apply.
|
|
299
|
+
Reload the website after configuration changes.
|
|
300
|
+
|
|
301
|
+
`analytics events list|create|snippet`, campaigns, goals and funnels manage reviewed categorical
|
|
302
|
+
definitions. Creation uses `--file <definition.json>`; reports and realtime read accepted data.
|
|
303
|
+
`analytics monitoring prepare` prepares a Trace draft without publishing it. Auth grants are scoped
|
|
304
|
+
to Analytics and the operation, with editor roles required for writes. Analytics is Unlimited in
|
|
305
|
+
Usage during early access. See the canonical plugin's website Analytics skill for event contracts
|
|
306
|
+
and the browser-to-report verification workflow; Search reports use `search analytics` separately.
|