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

# Audit your website's SDK setup

Source: https://docs.linkrunner.io/testing/website-sdk-audit

Run an automated audit that visits your website like a customer and reports what the Linkrunner Web SDK sends.

Website audits are on the **Health** tab of [SDK Console](https://dashboard.linkrunner.io/dashboard/sdk-console?kind=website), under **Web**. A real browser lands on your site from ad links, signs up, shops up to the payment step, and checks every request the Web SDK sends. You get a report with each issue and how to fix it. Project admins and members can run audits; [limited members](https://docs.linkrunner.io/features/add-teammates#limited-members) can't.

For a quick manual check from your own browser, use [Test the Web SDK](https://docs.linkrunner.io/testing/web-sdk-testing) instead. For an Android app, see [Check your Android build with SDK Health](https://docs.linkrunner.io/testing/sdk-health).

## Before you start

- Your project tracks a website: a [website project](https://docs.linkrunner.io/features/website-projects), or an app project with [Web Campaigns turned on](https://docs.linkrunner.io/features/website-projects#track-your-website-in-an-app-project).
- The site has the [Web SDK](https://docs.linkrunner.io/sdk/web) with this project's Web SDK token. Without a token, SDK Health asks you to set up the Web SDK first.
- If the site asks for a password, sits behind bot protection, or needs a test account to sign in, have those details ready.
- The audit uses your site like a visitor and may sign up with a test account. Its traffic is marked as bot traffic and kept out of your reports.

## Start an audit

**1. Open SDK Console → Health → Web**

Open [SDK Console → Health](https://dashboard.linkrunner.io/dashboard/sdk-console?kind=website) and select **Web** (1). A project with only a website has no switch and opens on its website audits.

![SDK Console with the Web switch, Daily check, and Audit website marked](https://docs.linkrunner.io/images/sdk-health/sdk-console-web-audit.webp)

1. **Web** shows your website audits.
2. **Daily check** audits your site again on its own. See [Audit your site every day](https://docs.linkrunner.io/testing/website-sdk-audit#daily-check).
3. **Audit website** starts an audit.

**2. Choose where the audit starts**

Click **Audit website**.

![The Audit your website form with the website address, access option, notes, and Start run marked](https://docs.linkrunner.io/images/sdk-health/website-audit-start-form.webp)

1. **Website URL** starts with your project's website. A project with more than one site shows **Website** instead: pick a site, or pick **Other URL** to type another address, such as a staging site.
2. Tick **This site needs a password or a test login** if it does. Add a **Browser password prompt** (username and password), a **Protection bypass** (a header, query parameter, or cookie; the header is Vercel's `x-vercel-protection-bypass` or `X-Linkrunner-Audit-Bypass`), or a **Test login** (email or username and password), which the audit signs in with first. These details are used for this audit only and deleted when it ends.
3. **Notes for the audit (optional)**: pages to start on or steps to skip, up to 2,000 characters, deleted when the audit finishes. Put a test login in the fields above, not here: the audit never types a password it reads in the notes.
4. Click **Start run**. The audit's page opens.

**3. Wait for the address check**

When you type a different address, Linkrunner checks it before you can start. **Checking this site…** shows under the field (1), and **Start run** stays off until the check answers.

![The address check shown under a changed website address](https://docs.linkrunner.io/images/sdk-health/website-audit-address-check.webp)

- If the check refuses the address, the form says why, and you can't start an audit on it. Use your public site or another address.
- If the check can't answer right now, you can still start. The audit checks the address again before it opens the site.

## While it runs

You can leave the page while it runs: the report is emailed to whoever started the audit, and **Notify me when it's done** tells you in this browser if the page is still open. **Stop** ends the audit; see [Limits](https://docs.linkrunner.io/testing/website-sdk-audit#limits) for when it still counts.

## What the audit does

The audit:

- Lands on your site from a Meta ad link on a phone, and from Google, TikTok, and Microsoft ad links on a desktop.
- Reloads the page, comes back from an email link and in a new tab, and arrives from a Google search.
- Visits with ad blockers that block Linkrunner.
- Reads your site's code for Linkrunner calls.
- Walks the site like a shopper: it looks around, signs up or signs in, triggers the custom events it found in your code, opens a product, adds it to the cart, and goes through checkout up to the payment step. It never pays or places an order.

It then compares what your site sent to Linkrunner with what each step should send, and checks which of those events Linkrunner received.

### Sites that need a sign-in

The audit signs up with its own test account, or signs in with your **Test login**. It can use a code or a sign-in link sent by email. It can't solve a captcha or always read a code sent by SMS, so on a site that signs people in only with an SMS code, expect the sign-up and login checks to show **Could not verify**. Other checks behind a sign-in it can't pass show **Could not verify** too.

## Read the results

Each audit appears in the list with its status.

![The website audits list with a completed audit, an audit that needs action, and Download report marked](https://docs.linkrunner.io/images/sdk-health/website-audit-runs.webp)

1. **Completed**: the report is ready. An icon next to it means something needs a fix or a look.
2. **Action needed**: something on your site stopped the audit. The row says what to change. Fix it, then run the audit again. See [If the audit can't run](https://docs.linkrunner.io/testing/website-sdk-audit#cant-run).
3. **Download report** downloads the report as a PDF.

**Queued**, **Starting**, **Checking**, and **Writing report** are in progress. **Project mismatch**: the site sends another project's Web SDK token. **Failed**: the audit ended without a report and doesn't count; run it again, or contact support if it keeps failing. **Stopped**: stopped before it finished.

Open an audit to see its results.

![An audit's results with the summary, Copy fixes for your developer, the check filters, an issue with its fix, Download report, and the run log marked](https://docs.linkrunner.io/images/sdk-health/website-audit-run-page.webp)

1. The summary shows how many issues the audit found and how many checks passed.
2. **Copy fixes for your developer** copies every issue and its fix as Markdown, ready to paste into a ticket.
3. Filters: **All**, **Issues**, **Needs review**, **Not verified** (only when something couldn't be checked), and **Passed**.
4. Each issue is **Must fix** or **Should fix** and says what the audit saw. Click **Show fix** to see the change to make.
5. **Download report** gets the PDF. Reports are kept for 90 days, then show **Expired**. The link icon next to it copies a link to this audit for a teammate on the project.
6. **Run log** shows each stage of the audit as it ran.

Checks are grouped by area, and only areas the audit checked appear: **SDK setup**, **Web attribution**, **Across subdomains**, **Page view tracking**, **Sign-up and login tracking**, **Custom events**, **Purchase tracking**, **App download links**, **Events received by Linkrunner**, **Mobile and desktop**, and **User consent**.

The PDF has the summary, a page for each issue with what the audit saw, the fix and a check to confirm it, the points your team should confirm, a release checklist, and, when there are fixes, a prompt to paste into your AI coding assistant. Under **Points for your team to confirm**:

- A step **done in the browser, not confirmed** is one the audit completed, such as adding a product to the cart, while your site sent nothing to Linkrunner for it. Add the event for that step, then audit again.
- **Audit limitation, not the site** means the audit's own typing couldn't fill a field on your site, so that step wasn't tested.

## Audit your site every day

Click **Daily check**, choose the website, turn on **Automatic checks**, and click **Save**. Each day Linkrunner compares the site's SDK setup with the last audit and audits it again when the setup changed. The first check after you choose a website only records its setup. These audits use the website report limit and aren't emailed, and a day is skipped if the limit or another audit is in the way. The dialog shows the next check and what the last one found, in your project's time zone.

## Limits

- **One website report per project every 3 hours**, from when the last one was delivered. It's separate from the app's limit, and daily check audits use it too. A stop once the audit is checking your site still uses it.
- **5 minutes** wait after an audit you started ends with **Action needed**, or after you stop one that had started but wasn't checking your site yet.
- **One website audit at a time** per project. An app audit can run alongside it.
- **24 hours** at most in the queue. An audit that never starts doesn't count.

## If the audit can't run

| The audit says | What to do |
| --- | --- |
| We could not open this website | Check that the site opens in a browser outside your office network or VPN, then run the audit again. |
| This website asks for a password before it opens | Run the audit again, tick **This site needs a password or a test login**, and add the password. |
| We could not find the Linkrunner Web SDK on this website | Add the Web SDK to the site with the [Web SDK guide](https://docs.linkrunner.io/sdk/web). |
| This website sends a different Linkrunner project's Web SDK token | Use this project's Web SDK token on the site. |
| Linkrunner rejected the Web SDK token on this website | Check that the site uses this project's current Web SDK token. |
| Bot protection blocked the audit on this website (it may name the product, such as Cloudflare) | Allowlist the audit traffic addresses shown in the message, or audit a staging address without bot protection. |
| This website refused the audit | Allowlist the audit traffic addresses shown in the message, or tick **This site needs a password or a test login** and add a **Protection bypass**. The message says when the site may be closed to the region the audit connects from. |
| This address can't be audited | Use a public http or https address, like `https://www.example.com`. |
| Stopped by our safety check: the website looked unsafe to open automatically | If you think this is a mistake, contact support. |
| This audit could not finish on our side, or our safety check could not run | Run the audit again in a little while. It doesn't count toward your report limit. |

**Need help?** Contact [support@linkrunner.io](mailto:support@linkrunner.io).
