Skip to content

Commit

Permalink
Merge pull request #442 from MetaMask/add-home-portfolio-cta-experiment
Browse files Browse the repository at this point in the history
fix: emit download cta click event for download cta header flag
  • Loading branch information
blaiseup authored Oct 10, 2024
2 parents d2702c0 + 1908081 commit f2925fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CTA.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const CTA = props => {
if (flagName === 'mm-download-cta-header') {
const currentPath = removeLanguageCode(location?.pathname)
if (currentPath === '/') {
ldClient?.track('home-header-portfolio-cta-click')
ldClient?.track('home-header-download-cta-click')
ldClient?.flush()
}
}
Expand Down

0 comments on commit f2925fa

Please sign in to comment.