# Automatic events

> Outbound link clicks, file downloads, 404 pages, scroll depth and form submits, counted with no code and free of your monthly allowance.

Source: https://datacenter.so/docs/automatic-events
Section: Measure

Some things are worth counting on every site. Datacenter counts these five for you, with no code:

| Event | Counts | Shows |
|---|---|---|
| `Outbound link` | Clicks on links to other sites, like your booking page or a map | Each link, by host and path |
| `File download` | Clicks on PDFs, menus, price lists, zips, documents, audio and video files, and any link with a `download` attribute | Each file |
| `Page not found` | Visits to your 404 page | Each missing page, and where people came from |
| `Scroll depth` | How far down each page people read: 25, 50, 75 and 100% | The share of views of each page that reached each mark |
| `Form submit` | Every form sent on your site, except search boxes | Each form, by its name or id |

A click to a booking page, such as Booksy, Fresha or Square Appointments (Booksy's **Book now** button too), also counts as `Booking started`, with the platform's name. See [Track Booksy bookings](https://datacenter.so/docs/booksy).

All five are on for every site. Turn any of them off in the site's **Settings**, under **Automatic events**. The reports are in the site's **Goals**, under **Events**.

The same card has a sixth switch, **Conversions your tags report**: the signups, purchases and leads your site already sends to Meta, Google, TikTok or Pinterest. See [Signups and sales with no setup](https://datacenter.so/docs/conversions-without-setup).

## What they never read

- No form field. A form submit names the form, never what was typed.
- No query string or `#` part of an address. A link to `calendly.com/acme?email=ann@example.com` counts as `calendly.com/acme`.
- No cookie and no storage. Automatic events work the same in Private mode and 90-day tracking.

## Free of your allowance

Automatic events never count toward your plan's monthly events. Turning them on costs nothing.

## Make one a goal

Under **Events**, **Make it a goal** turns outbound link clicks, file downloads or form submits into a goal in one tap. It counts past events too. Scroll depth and 404 pages are reports, not goals.

## 404 pages

Datacenter looks for "404" or "not found" in the page title. If your 404 page says something else, type its words under **More options** in the Automatic events card. Or add `data-datacenter-404` to any tag on that page:

```html
<main data-datacenter-404>
```

## Scroll depth, exactly

Each page view reaches a mark once. A visitor who reads half a page, switches tabs, then comes back and reads to the end counts once at 50% and once at 100%, never twice at 50%. A page shorter than the screen counts as read to the end.

## How it loads

The tracking script loads a small add-on, `x.js`, with your site's switches already set. The automatic events part is under 1.5 KB, listening to your tags adds under 1.8 KB, and [heatmaps](https://datacenter.so/docs/heatmaps) add about 1 KB on sites that use them. With every switch off and no heatmaps, the file is empty. Behind a [script proxy](https://datacenter.so/docs/script-proxy), pass `/st/x.js` on like the script itself.

Automatic events are kept out of customer profiles and their timelines when they are not something the person chose to do: scroll depth and 404 pages.
