Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect more data #340

Open
chris48s opened this issue Dec 13, 2019 · 1 comment
Open

Collect more data #340

chris48s opened this issue Dec 13, 2019 · 1 comment
Milestone

Comments

@chris48s
Copy link
Member

When we append the tracking params in

let utm_source;
try {
utm_source = window.location.href;
} catch (e) {
utm_source = 'unknown';
}
const params = { utm_source, utm_medium: 'widget' };
if (api_key) {
params.auth_token = api_key;
}

it would also be useful to collect:

  • candidates: on/off
  • the user's language: English/Welsh
@symroe symroe added this to the May 21 milestone Dec 22, 2020
@chris48s
Copy link
Member Author

Worth noting here that even if you don't actually do anything with additional params, just sending them on the query string is enough to make them visible to CloudWatch when you pull the stats on requests from there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants