Skip to content

Automatic events

Upbeat Analytics can count three kinds of clicks for you, without any code on your side:

Kind Event name Properties
Links to other websites Outbound Link: Click url: the link’s host and path
File downloads File Download url: host and path; ext: the file type, like pdf
Email and phone links Contact Link: Click kind: email or phone

They appear in the Events panel like any other event, and can be used as goals.

  1. On the site’s dashboard, choose Tracking snippet.
  2. Under Automatic events, tick the kinds you want.
  3. The snippet changes: it now loads s.auto.js and lists your choice in data-auto. Copy it and replace the snippet on your pages with it.

Links to other websites and File downloads are ticked under Automatic events, and the snippet above has changed to s.auto.js with data-auto="outbound downloads"

The choice lives in the snippet, not in your account. To change it later, tick other boxes and paste the snippet again.

  • A download is a link to a file ending in a document, archive or media extension (PDF, Office files, OpenDocument, CSV, text, ZIP and other archives, installers, audio and video), or any link with the download attribute.
  • An outbound link is a link to another domain. www. doesn’t make a difference. A link to one of your site’s extra domains counts as outbound, because the tracker doesn’t know them.
  • A link that is both, like a PDF on another website, counts as a download.
  • Link addresses are kept as host and path only, never the query or fragment.
  • For email and phone links, only whether it was email or phone is sent, never the address or number.
  • The click itself is never delayed or changed.