diff --git a/packages/landing/src/components/feature.updates.tsx b/packages/landing/src/components/feature.updates.tsx index a6c61e807..0db121756 100644 --- a/packages/landing/src/components/feature.updates.tsx +++ b/packages/landing/src/components/feature.updates.tsx @@ -2,7 +2,7 @@ import { clsx } from 'clsx'; import { Component, ReactNode } from 'react'; import ReactModal from 'react-modal'; -import { Config } from '../config.js'; +import { Config, GaEvent, gaEvent } from '../config.js'; type FeatureUpdatesProps = { header: string; @@ -37,6 +37,7 @@ export class FeatureUpdates extends Component { this.setState({ showModal: false }); window.localStorage.setItem(this.props.id, this.props.dismissedKey); + gaEvent(GaEvent.Ui, `news:${this.props.id.toLowerCase()}:close`); }; override render(): ReactNode { @@ -46,6 +47,7 @@ export class FeatureUpdates extends Component