Skip to content

Commit

Permalink
docs: update sponsor datalayer event name
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbarion committed Feb 16, 2024
1 parent 6204089 commit 50093bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/components/BannerSponsor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ const BannerSponsor = ({ sponsorKey, tier }: BannerSponsorProps) => {
window.dataLayer = window.dataLayer || []

window.dataLayer.push({
event: `click_${sponsorKey}_banner`,
event: `click_sponsor_banner`,
place: 'sidebar',
sponsorKey,
sponserTitle: sponsor.title,
})
}

Expand Down

0 comments on commit 50093bc

Please sign in to comment.