> ## Documentation Index
> Fetch the complete documentation index at: https://store-docs.quizify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Opening a Quiz via a Link or Button

> How to use the Quizify direct link to open a quiz as a popup when a customer clicks a menu item, button, or any link on your Shopify store — including size options for the popup.

You can open a Quizify quiz as a popup when a customer clicks any link, menu item, or button on your store. This method uses a direct link — no embed code or HTML editing required. It is the recommended approach when you want to trigger the quiz from your navigation menu, a call-to-action button, or a text link anywhere on your store.

***

## How the Direct Link Works

Quizify provides a unique direct link for each quiz. When a customer clicks anything with this link as its URL, the quiz opens in a popup overlay on top of the current page.

The link format is:

\#quizify-pop-YOUR\_QUIZ\_ID\&size=fullsize

Replace `YOUR_QUIZ_ID` with the quiz ID shown on the Publish page of your quiz. See [Finding Your Quiz ID](https://file+.vscode-resource.vscode-cdn.net/Applications/XAMPP/xamppfiles/htdocs/Quizify/docs/collection-5/c5-g1-d3-opening-quiz-via-link-or-button.md#finding-your-quiz-id) below.

***

## Popup Size Options

You can control the size of the popup by changing the `size` parameter at the end of the link:

| Size | Link |
| - | - |
| Full screen | `#quizify-pop-YOUR_QUIZ_ID&size=fullsize` |
| Medium | `#quizify-pop-YOUR_QUIZ_ID&size=medium` |
| Small | `#quizify-pop-YOUR_QUIZ_ID&size=small` |

Choose the size that fits best with your store's layout and the quiz length.

***

## Finding Your Quiz ID

1. From the Quizify dashboard, click the **edit quiz** icon next to your quiz

2. Click the **Publish** tab at the top of the editor

3. Your quiz ID is displayed on this page — copy it

***

## Adding the Link to Your Navigation Menu

1. Go to **Shopify Admin → Online Store → Navigation**

2. Open the menu you want to add the quiz link to (for example, Main menu)

3. Click **Add menu item**

4. Enter a label for the item (for example, "Find Your Match" or "Take the Quiz")

5. In the link field, paste the direct link: `#quizify-pop-YOUR_QUIZ_ID&size=fullsize`

6. Click **Add** and then **Save menu**

When a customer clicks the menu item, the quiz will open as a popup.

***

## Adding the Link to a Button or Text Link

To add the link to a button in the Shopify Theme Editor:

1. Go to **Shopify Admin → Online Store → Themes → Customise**

2. Find the button or section you want to link (for example, a hero banner button)

3. Set the button URL to the direct link: `#quizify-pop-YOUR_QUIZ_ID&size=fullsize`

4. Save

To add it as a text hyperlink in a page or blog post, switch to HTML view and use:

<a href="#quizify-pop-YOUR_QUIZ_ID&size=fullsize">Take the Quiz</a>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.