Use an own Clickhouse instance to to track customer actions in a GDPR friendly way and visualize it in the Zed Backend.
- Clickhouse server is included via
deploy.dev.yml
with an extra docker-compose file- All configs are located in the
.clickhouse
subdirectory and thedeploy.dev.yml
- All configs are located in the
- There is a small node-server (also included via docker-compose) which acts as an endpoint for data-colelction
- Logic is found in
.clickhouse/ingest
- Logic is found in
- during boot, build, and up everything is setup automatically and the migrations found in
.clickhouse/migrations
are applied- Clickhouse migration can be run manually via
npm run clickhouse:migrate
- Clickhouse migration can be run manually via
- clone the repository in your local
git clone git@github.com:spryker-community/clickhouse-analytics.git
- clone docker sdk
git clone https://github.com/spryker/docker-sdk.git --single-branch docker
- bootstrap the project
docker/sdk bootstrap deploy.dev.yml
- start the project
clickhouse-migration is done automatically during the boot process in
docker/sdk up
init-storages-per-region
section but can manually run vianpm run clickhouse:migrate
- Track customer interactions in Yves
- Store the data in Clickhouse
- Visualize the data in Zed