Skip to content

Commit

Permalink
A4A: Pass a specific tag when submitting support via the Migration of…
Browse files Browse the repository at this point in the history
…fer banner. (#95429)
  • Loading branch information
jkguidaven authored Oct 17, 2024
1 parent e3b0492 commit e11e779
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,14 @@ export default function MigrationContactSupportForm( { show, onClose }: Props )
} )
);

submit( { message, name, email, product, no_of_sites: site } );
submit( {
message,
name,
email,
product,
no_of_sites: site,
tags: [ 'a4a_form_dash_migration' ],
} );
}, [ hasCompletedForm, dispatch, message, submit, name, email, product, site ] );

useEffect( () => {
Expand Down
1 change: 1 addition & 0 deletions client/a8c-for-agencies/data/support/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ export interface SubmitContactSupportParams {
no_of_sites?: number;
contact_type?: string;
pressable_id?: number;
tags?: string[];
}

0 comments on commit e11e779

Please sign in to comment.