# ScoreApp

Referral marketing is a powerful way to grow your ScoreApp survey responses by leveraging your existing users’ networks. By integrating **Referral Rocket** with **ScoreApp**, you can incentivize participants to share their results and refer friends, increasing engagement and lead generation. Below is a step-by-step guide to setting this up.

To display the referral widget on your ScoreApp results page:

#### **Embed via HTML/JavaScript**

1. In Referral Rocket, navigate to **Integration Settings** and copy the embed code for your referral widget

```
<script type="text/javascript" campaign-id="YOUR-CAMPAIGN-ID" defer src="https://app.referralrocket.io/widget/widgetIndex.js"></script>

//Add this script in the body
<div class="hype_widget" campaign-id="YOUR-CAMPAIGN-ID"></div>
```

1. In ScoreApp:
   * Go to **Scorecard Builder > Settings**.
   * Paste the Referral Rocket widget code into the **Custom HTML/JavaScript** section of your results page 1.

<figure><img src="/files/KlNfKFuQjbg0RNUYbfbb" alt=""><figcaption></figcaption></figure>

* Save changes.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://referral-rocket.gitbook.io/docs/integrations/scoreapp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
