UNOMI-187 improve readme
Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/5e4cd373 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/5e4cd373 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/5e4cd373 Branch: refs/heads/UNOMI-180-CXS-GRAPHQLAPI Commit: 5e4cd3730c58f880c8ab6efebcebad1ef1474f88 Parents: 50858d3 Author: dgaillard <dgaill...@jahia.com> Authored: Fri Nov 2 15:49:01 2018 +0100 Committer: dgaillard <dgaill...@jahia.com> Committed: Fri Nov 2 15:49:01 2018 +0100 ---------------------------------------------------------------------- extensions/web-tracker/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/5e4cd373/extensions/web-tracker/README.md ---------------------------------------------------------------------- diff --git a/extensions/web-tracker/README.md b/extensions/web-tracker/README.md index 6e23de1..9a05287 100644 --- a/extensions/web-tracker/README.md +++ b/extensions/web-tracker/README.md @@ -40,4 +40,9 @@ In your page include unomiOptions and include code snippet from `snippet.min.js` `window.unomiTracker` can be used to send additional events when needed. -Check analytics.js API [here](https://segment.com/docs/sources/website/analytics.js/). All methods can be used on `unomiTracker` object, although not all event types are supported by Unomi intergation. \ No newline at end of file +Check analytics.js API [here](https://segment.com/docs/sources/website/analytics.js/). All methods can be used on `unomiTracker` object, although not all event types are supported by Unomi intergation. + +## How to contribute + +The source code is in the folder javascript with a package.json, the file to update is `analytics.js-integration-apache-unomi.js` apply your modification in this file then use the command `yarn build` to compile a new JS file. +Then you can use the test page to try your changes `http://localhost:8181/tracker/index.html`.