Skip to content

Commit

Permalink
Pass a4a_form_dash_migration tag when submitting support via Migratio…
Browse files Browse the repository at this point in the history
…n offer banner.
  • Loading branch information
jkguidaven committed Oct 16, 2024
1 parent 609d656 commit 1f5dffc
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 1f5dffc

Please sign in to comment.