Proof of concept for library that can store parameters (like UTM) in a cookie and add them to a specific link when a page loads.
- Have Docker installed on the computer
- Have the
Microsoft
Remote - Containers extension installed inVS Code
Use the Remote - Containers
extension to clone the repository in a container volume.
You can do this directly from GitHub
or from a local folder after cloning the project.
Once VS Code
opens the repository from the container, run the following commands:
npm install
to install all dependencies
npm start
to view demo at location http://localhost:44333/?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale&utm_term=running_shoes&utm_content=textlink
npm run test
to execute the unit and integration tests