# Tracking, redirects and installing your app

> Add Google Analytics, the Meta Pixel or other scripts, set up 301 redirects, and let visitors install your app on their phone.


**Dashboard → Site settings** changes how your published app is served. Changes are live when you save, with no rebuild and no AI message.

## Tracking

- **Google Analytics / Google tag ID:** paste your measurement ID (`G-…`) and Draftship adds the Google tag to every page.
- **Meta Pixel ID:** adds the pixel and tracks page views.
- **Custom code in `<head>`:** for any other tool, such as AdSense, Plausible or Hotjar. It runs on every page.

Draftship's own [analytics](/docs/logic/analytics-and-logs) keep working alongside these.

## Redirects

Send old links to new pages with permanent (301) redirects:

| From | To | Match | Result |
|---|---|---|---|
| `/old-pricing` | `/pricing` | Exact | only that page |
| `/blog` | `https://blog.example.com` | Starts with | `/blog/hello` → `https://blog.example.com/hello` |

Redirects run before your app, so the old page doesn't need to exist.

## Install on phones

Turn on **Let visitors install the app** and visitors can add it to their home screen from the browser menu. It then opens full-screen with its own icon, like a native app. Set the name shown under the icon and a theme color; the icon is your app's initial on that color.

## Performance

Every page also measures how fast it is for real visitors (Core Web Vitals: LCP, INP and CLS). You'll find the results in **Dashboard → Analytics → Performance**, with each score marked good, needs improvement or poor using Google's thresholds.
