diff --git a/integrations/vero/HISTORY.md b/integrations/vero/HISTORY.md new file mode 100644 index 000000000..0eacaed90 --- /dev/null +++ b/integrations/vero/HISTORY.md @@ -0,0 +1,36 @@ +2.1.0 / 2017-04-14 +================== + + * Add support for Vero tags. + +2.0.0 / 2016-06-21 +================== + + * Remove Duo compatibility + * Add CI setup (coverage, linting, cross-browser compatibility, etc.) + * Update eslint configuration + +1.0.4 / 2016-05-07 +================== + + * Bump Analytics.js core, tester, integration to use Facade 2.x + +1.0.3 / 2015-08-20 +================== + + * #identify method will now send to Vero when either userId OR email is present, rather than requiring both. + +1.0.2 / 2015-06-30 +================== + + * Replace analytics.js dependency with analytics.js-core + +1.0.1 / 2015-06-24 +================== + + * Bump analytics.js-integration version + +1.0.0 / 2015-06-09 +================== + + * Initial commit :sparkles: diff --git a/integrations/vero/README.md b/integrations/vero/README.md new file mode 100644 index 000000000..8746cf4be --- /dev/null +++ b/integrations/vero/README.md @@ -0,0 +1,12 @@ +# analytics.js-integration-vero [![Build Status][ci-badge]][ci-link] + +Vero integration for [Analytics.js][]. + +## License + +Released under the [MIT license](LICENSE). + + +[Analytics.js]: https://segment.com/docs/libraries/analytics.js/ +[ci-link]: https://circleci.com/gh/segment-integrations/analytics.js-integration-vero +[ci-badge]: https://circleci.com/gh/segment-integrations/analytics.js-integration-vero.svg?style=svg diff --git a/integrations/vero/lib/index.js b/integrations/vero/lib/index.js new file mode 100644 index 000000000..1ed7e9153 --- /dev/null +++ b/integrations/vero/lib/index.js @@ -0,0 +1,151 @@ +'use strict'; + +/** + * Module dependencies. + */ + +var cookie = require('component-cookie'); +var integration = require('@segment/analytics.js-integration'); +var push = require('global-queue')('_veroq'); + +/** + * Expose `Vero` integration. + */ + +var Vero = module.exports = integration('Vero') + .global('_veroq') + .option('apiKey', '') + .tag('