Skip to content

Commit f0ad3b8

Browse files
committed
fix: PANDA paramater was incorrectly specified in examples/docs
1 parent a76db5e commit f0ad3b8

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,6 @@ jobs:
264264
"sona_url": "https://${{ secrets.EXP_DEPLOY_HOST }}/e/${{ steps.dotenv_github.outputs.VITE_CODE_NAME }}/#/welcome/sona/?survey_code=%SURVEY_CODE%",
265265
"sona_paid_url": "https://${{ secrets.EXP_DEPLOY_HOST }}/e/${{ steps.dotenv_github.outputs.VITE_CODE_NAME }}/#/welcome/sona_paid/?survey_code=%SURVEY_CODE%",
266266
"spark_url": "https://${{ secrets.EXP_DEPLOY_HOST }}/e/${{ steps.dotenv_github.outputs.VITE_CODE_NAME }}/#/welcome/spark/?subject_ID=SUBJECTID&participant_ID=PARTICIPANTID&age=AGE&gender=GENDER",
267-
"panda_url": "https://${{ secrets.EXP_DEPLOY_HOST }}/e/${{ steps.dotenv_github.outputs.VITE_CODE_NAME }}/#/welcome/panda/?ID=PARTICIPANTID",
267+
"panda_url": "https://${{ secrets.EXP_DEPLOY_HOST }}/e/${{ steps.dotenv_github.outputs.VITE_CODE_NAME }}/#/welcome/panda/",
268268
"citizen_url": "https://${{ secrets.EXP_DEPLOY_HOST }}/e/${{ steps.dotenv_github.outputs.VITE_CODE_NAME }}/#/welcome/citizen/"
269269
}

docs/recruit/recruitment.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,14 +405,16 @@ PANDA passes a single URL parameter when directing a participant to your study:
405405

406406
- `ID` (required) — the PANDA participant identifier
407407

408-
The study URL format is:
408+
Give PANDA the base study URL (without query parameters):
409409

410410
```
411-
https://your-deploy-host/e/your-code-name/#/welcome/panda/?ID=PARTICIPANTID
411+
https://your-deploy-host/e/your-code-name/#/welcome/panda/
412412
```
413413

414-
The `ID` parameter is stored in both `api.private.recruitmentInfo.panda_id` and
415-
`api.data.panda_id` (so it appears in saved data files).
414+
PANDA will automatically append `?ID=<participant_id>` when directing
415+
participants to your study. The `ID` parameter is stored in both
416+
`api.private.recruitmentInfo.panda_id` and `api.data.panda_id` (so it appears
417+
in saved data files).
416418

417419
### Dual-iframe caveat
418420

0 commit comments

Comments
 (0)