diff options
Diffstat (limited to 'src/view/com/composer/Composer.tsx')
-rw-r--r-- | src/view/com/composer/Composer.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index fb6aaa231..4c73e58bf 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -169,9 +169,6 @@ export const ComposePost = observer(function ComposePost({ knownHandles: autocompleteView.knownHandles, langs: store.preferences.postLanguages, }) - track('Create Post', { - imageCount: gallery.size, - }) } catch (e: any) { if (extLink) { setExtLink({ @@ -183,6 +180,11 @@ export const ComposePost = observer(function ComposePost({ setError(cleanError(e.message)) setIsProcessing(false) return + } finally { + track('Create Post', { + imageCount: gallery.size, + }) + if (replyTo && replyTo.uri) track('Post:Reply') } if (!replyTo) { store.me.mainFeed.addPostToTop(createdPost.uri) |