Hello, I can't seem to find test links for the dif...
# ask-questions
g
Hello, I can't seem to find test links for the different variations of my test. Is there a way I can pass a parameter?
r
Hi Mike, thanks for reaching out! To preview an experiment while it's still in the draft phase, you can add a query string to your URL. Here are the steps: 1. Turn on the "Include Drafts" toggle for your SDK Connection in GrowthBook. 2. Get the ​*Experiment Id*​. You can find this on the right side of the experiment page under Settings. 3. Decide on the variation number you want to preview. ​`0`​ is the control, ​`1`​ is the 1st variation, and so on. 4. Join the Experiment Id and the variation number together with an equals sign. For example, ​`my-experiment-id=1`​. This needs to go in the Querystring part of the URL (after a question mark). Here's a full example:
Copy code
<https://www.example.com/pricing?my-experiment-id=1>
Until an experiment is moved out of the "draft" phase and started, this is the only way to view it on your site.
🙌 1