> For the complete documentation index, see [llms.txt](https://surveysparrow.gitbook.io/spotchecks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://surveysparrow.gitbook.io/spotchecks/introduction.md).

# Introduction

In modern applications, gathering user feedback through surveys is crucial for enhancing user experience and improving services. Embedding a bundled JavaScript code within your application enables seamless survey integration. However, there are instances where you might want these surveys to appear only under specific conditions.

This is where SurveySparrow's innovative feature, **SpotChecks**, comes into play.

<figure><img src="/files/rXLrkwozKm3uJVAL86GW" alt=""><figcaption><p>SpotChecks</p></figcaption></figure>

**What are SpotChecks?**

SpotChecks empowers developers to integrate its functionality into their applications, with the ability to configure various settings. It provides a bundled JavaScript code for web SpotChecks and SDK for mobile SpotChecks. Therefore, it can be utilized on multiple devices. SpotChecks also allows surveys to be displayed based on predefined conditions, ensuring that feedback is collected at the most opportune moment.

**Key Features of SpotChecks**

1. **Conditional Survey Display**: Configure conditions under which surveys should appear to users, ensuring targeted feedback collection.
2. **Seamless Integration**: Easily embed the bundled JavaScript code into your application without disrupting the user experience.
3. **Shared Snippets:** Effortlessly utilize a single **Target** across multiple surveys, thereby reducing the need to configure it separately.
4. **Customizable Settings**: Tailor survey display settings to match your application's specific needs and user interactions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://surveysparrow.gitbook.io/spotchecks/introduction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
