@cfpb/cfpb-analytics
v0.3.2
Published
Data layer analytics utility.
Downloads
35
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',
});