Skip to content

Commit

Permalink
AI Proofread: add feature property on event (#35370)
Browse files Browse the repository at this point in the history
* add feature property for proofread event

* remove post_id from event properties
  • Loading branch information
CGastrell authored Feb 1, 2024
1 parent 495eb51 commit f9d7803
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

AI Proofread plugin: add feature to the event props
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function Proofread( {
request( messages, { feature: 'jetpack-ai-proofread-plugin' } );
toggleProofreadModal();
tracks.recordEvent( 'jetpack_ai_get_feedback', {
post_id: postId,
feature: 'jetpack-ai-proofread-plugin',
} );
};

Expand Down

0 comments on commit f9d7803

Please sign in to comment.