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

Add tutorial name to tracking links #84

Open
agardnerIT opened this issue Mar 26, 2023 · 0 comments
Open

Add tutorial name to tracking links #84

agardnerIT opened this issue Mar 26, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@agardnerIT
Copy link
Collaborator

To efficiently track tutorial usage, we need to modify each background script to push the tutorial name in addition to the pageName.

Do this by adding a new field to the curl -X POST body.

For example:

curl -X POST 'https://b12rzypwjl.execute-api.us-east-1.amazonaws.com/default/keptn_killercoda_tracker' -H 'Content-Type: text/plain' --data-raw '{ "pageName": "intro.md" }'

Becomes:

curl -X POST 'https://b12rzypwjl.execute-api.us-east-1.amazonaws.com/default/keptn_killercoda_tracker' -H 'Content-Type: text/plain' --data-raw '{ "tutorial": "keptnV1", "pageName": "intro.md" }'
@agardnerIT agardnerIT added the good first issue Good for newcomers label Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant