Track each feature as its own Plausible event
Send 'click: pause', 'click: skip', etc. instead of a generic 'feature_click' so each feature gets its own Goal in Plausible. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
579f98fb20
commit
40fed2a6f4
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ function PayPlay() {
|
||||||
}, [flash]);
|
}, [flash]);
|
||||||
|
|
||||||
const tryAct = (k, fn) => {
|
const tryAct = (k, fn) => {
|
||||||
track("feature_click", { feature: k, subscribed: !!has(k) });
|
track("click: " + k, { subscribed: !!has(k) });
|
||||||
if (has(k)) { fn(); return; }
|
if (has(k)) { fn(); return; }
|
||||||
setModal({ key: k, action: fn });
|
setModal({ key: k, action: fn });
|
||||||
setModalPhase("choose");
|
setModalPhase("choose");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue