diff --git a/.circleci/config.yml b/.circleci/config.yml index 15eb10455..100d447d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,9 +30,6 @@ jobs: - attach_workspace: { at: . } - restore_cache: key: deps-{{ checksum "yarn.lock" }} - - run: - name: Linter - command: yarn lint - run: name: Test updated integrations in PhantomJS command: yarn test-integrations --browsers PhantomJS diff --git a/MIGRATE-INTEGRATIONS.md b/MIGRATE-INTEGRATIONS.md index 441241cce..502f4f0c3 100644 --- a/MIGRATE-INTEGRATIONS.md +++ b/MIGRATE-INTEGRATIONS.md @@ -21,4 +21,5 @@ and pull requests. the repository: - `$ bin/boneyard-integration-repository --integration ` - +NOTE: For big migrations, it's ok to skip SauceLabs tests, but make sure +local tests work (PhantomJS). diff --git a/integrations/convertro/HISTORY.md b/integrations/convertro/HISTORY.md new file mode 100644 index 000000000..bc8847f6b --- /dev/null +++ b/integrations/convertro/HISTORY.md @@ -0,0 +1,53 @@ + +2.1.2 / 2016-08-16 +================== + + * npm publish + +2.1.1 / 2016-08-16 +================== + + * Merge pull request #7 from segment-integrations/update/ajs-integration + * updating dependencies + +2.1.0 / 2016-08-16 +================== + + * Merge pull request #5 from segment-integrations/update/ecommerce-spec-v2 + * update ecommerce spec syntax to v2 +2.0.0 / 2016-06-21 +================== + + * Remove Duo compatibility + * Add CI setup (coverage, linting, cross-browser compatibility, etc.) + * Update eslint configuration + +1.0.5 / 2016-05-07 +================== + + * Bump Analytics.js core, tester, integration to use Facade 2.x + +1.0.4 / 2015-06-30 +================== + + * Replace analytics.js dependency with analytics.js-core + +1.0.3 / 2015-06-30 +================== + + * Replace analytics.js dependency with analytics.js-core + +1.0.2 / 2015-06-24 +================== + + * Bump analytics.js-integration version + +1.0.1 / 2015-06-24 +================== + + * Bump analytics.js-integration version + +1.0.0 / 2015-06-09 +================== + + * Initial commit :sparkles: diff --git a/integrations/convertro/README.md b/integrations/convertro/README.md new file mode 100644 index 000000000..9f4e9094b --- /dev/null +++ b/integrations/convertro/README.md @@ -0,0 +1,12 @@ +# analytics.js-integration-convertro [![Build Status][ci-badge]][ci-link] + +Convertro integration for [Analytics.js][]. + +## License + +Released under the [MIT license](LICENSE). + + +[Analytics.js]: https://segment.com/docs/libraries/analytics.js/ +[ci-link]: https://ci.segment.com/gh/segment-integrations/analytics.js-integration-convertro +[ci-badge]: https://ci.segment.com/gh/segment-integrations/analytics.js-integration-convertro.svg?style=svg&circle-token=1de2409e283048bf4028cf717e2bed7f6b01e6d8 diff --git a/integrations/convertro/lib/index.js b/integrations/convertro/lib/index.js new file mode 100644 index 000000000..6bf2c6d8d --- /dev/null +++ b/integrations/convertro/lib/index.js @@ -0,0 +1,117 @@ +'use strict'; + +/** + * Module dependencies. + */ + +var each = require('@ndhoule/each'); +var integration = require('@segment/analytics.js-integration'); +var push = require('global-queue')('$CVO'); + +/** + * Expose `Convertro` integration. + */ + +var Convertro = module.exports = integration('Convertro') + .global('$CVO') + .global('__cvo') + .option('account', '') + .option('hybridAttributionModel', false) + .mapping('events') + .tag('