Goals and revenue
Automatic goals
Link tracking in Stickybeak records common clicks without extra code. Make any outbound, email or phone click a goal from ⚙ Settings → Goals.
Outbound click tracking
| Event | Click | Properties |
|---|---|---|
outbound_link | Another website | url: origin only, such as https://github.com |
email_click | A mailto: link | None |
phone_click | A tel: link | None |
link_click | An internal link in <nav>, <header>, <footer> or a named section | section and destination to |
Subdomains and www. count as your site. Stickybeak never sends an outbound path, email address or phone number.
Name a section
<aside data-section="sidebar-cta">
<a href="/pricing">See pricing</a>
</aside>
data-section overrides the surrounding element name. Section names stop at 40 characters; ordinary body links are not tracked.
How custom goals combine
| Link | Events sent |
|---|---|
Internal, with data-goal | Your goal only |
Outbound, email or phone, with data-goal | Your goal and the automatic event |
For one specific outbound link, add its own data-goal. Internal-link reporting is covered in Internal links.