feat: track hashtags input usage
This commit is contained in:
@ -173,6 +173,16 @@ export function NoteCreator() {
|
||||
props ??= {};
|
||||
props["zap-split"] = true;
|
||||
}
|
||||
if (note.hashTags.length > 0) {
|
||||
props ??= {};
|
||||
props["hashtags"] = true;
|
||||
}
|
||||
if (props) {
|
||||
props["content-warning"] ??= false;
|
||||
props["poll"] ??= false;
|
||||
props["zap-split"] ??= false;
|
||||
props["hashtags"] ??= false;
|
||||
}
|
||||
trackEvent("PostNote", props);
|
||||
|
||||
const events = (note.otherEvents ?? []).concat(ev);
|
||||
|
Reference in New Issue
Block a user