@cfpb/cfpb-analytics
v0.3.2
Published
Data layer analytics utility.
Downloads
45
Readme
Analytics support for consumerfinance.gov sites.
To use the analytics utility, import the analyticsSendEvent
method and send events:
import { analyticsSendEvent } from '@cfpb/cfpb-analytics';
analyticsSendEvent({
event: 'test event',
action: 'test action',
label: 'test label',
});