A Khaos template that lets you quickly scaffold a new Analytics.js integration.
$ khaos install segmentio/khaos-analytics.js-integration
$ khaos create analytics.js-integration google-analytics
What's your integration's name?: (eg. "Google Analytics") Google Analytics
Does your library always record a pageview when loaded?: ("yes" or "no", most do) no
Do we need to wait for your library to load to send it data?: ("yes" or "no", most don't) no
Does your integration record a visitor's identity?: ("yes" or "no") yes
Does your integration record accounts or organizations?: ("yes" or "no") no
Does your integration track a visitor's actions?: ("yes" or "no") yes
$
MIT