CYS: Add Tracking for Fiverr Logo Maker CTA (#49783)

* Add tracking for new  event.

* Correct the naming convention for tracking event.

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Daniel W. Robert 2024-07-23 11:12:44 -04:00 committed by GitHub
parent 1ba24e1937
commit bbdb289c84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -49,6 +49,7 @@ import {
MAX_LOGO_WIDTH,
ALLOWED_MEDIA_TYPES,
} from './constants';
import { trackEvent } from '~/customize-store/tracking';
const useLogoEdit = ( {
shouldSyncIcon,
@ -545,6 +546,11 @@ export const SidebarNavigationScreenLogo = ( {
target="_blank"
type="external"
rel="noreferrer"
onClick={ () => {
trackEvent(
'customize_your_store_fiverr_logo_maker_cta_click'
);
} }
/>
),
},

View File

@ -0,0 +1,4 @@
Significance: minor
Type: add
CYS: Add Tracking for Fiverr Logo Maker CTA