Mini-application for checking that the full conversion round-trip is functioning. All it does is take the advref
query paramter in the URL, if exists, and post the value back to the /v1/register-conversion/
endpoint.
To run locally, clone the repo and run
yarn install
npm start
and the browsersource should be available at localhost:9000
The build process creates a single static site, which will be output into the dist
folder
but running
npm run build
The following env variables can be set either for dev or prod
Environment Variable | Dev Defaults | Prod Defaults | Description |
---|---|---|---|
CONVERSION_API_HOST | localhost:8000 | api.adv.gg | base url for the advocate API |
CONVERSION_API_PROTOCOL | http | https | HTTP protocol. Valid options are http or https |