This project demonstrates the integration of the automated-usage-tracking-tool with a JavaScript web client application.
src/index.js: Main entry point of the application.index.html: HTML file to load the web client.lib/automatedUsageTrackingToolWrapper.js: Wrapper for the automated usage tracking tool.
dist/bundle.js: Bundled output file generated by Webpack.
To install the project dependencies, run:
npm installTo build the project, run:
npm run buildThe build artifacts will be stored in the dist/ directory.
Open index.html in a web browser to see the application in action. The application provides buttons to request consent confirmation, ask a consent question, and track usage.
The project integrates the automated-usage-tracking-tool to track user interactions. The integration is handled in the src/lib/automatedUsageTrackingToolWrapper.js file.
This project is licensed under the ISC License. See the LICENSE file for details.