Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

See which post, ad or link a lead came from

Connect your website once. A small script records visits after consent, tracked links carry a signed reference from the click to the form, and your own form or calculator can send the lead from the server. Each lead then shows what it touched before it arrived.

Works on any site where you can paste two lines before </head>, and without them if your server sends the lead.

A tracking site's page: the two-line script to copy, the consent calls for a cookie banner, the lead call, and the settings for allowed origins, consent and status.
Demo data The demo workspace offered when you set up your account.

Four ways in, one event log

Use one or all of them. Everything lands in the same log, where the same event sent twice is stored once.

Way in What it records Use it for
The site script Page views, a form being started, and the lead your form hands it with hms('lead', …). Your own website, when you can add two lines to it.
A tracked link The click. It then forwards the visitor with campaign parameters and a signed reference. Posts, ads, emails and the link in your bio.
A signed webhook A lead from your server, and later what became of it: qualified, a sale with its amount, a refund. A form or calculator you already have. Nothing on the page changes.
The API The same events, one at a time or in a batch, with a key that may write events. Your own system. API documentation.

A browser can report a visit and a lead it submitted. It can never report a qualification or a sale: those come from a person, a signed webhook or a key.

A script that asks nothing of the device

The script is under 3 KB, loads without blocking the page and depends on nothing else. You choose how each site treats consent when you add it, and you can change it later.

Wait for consent is the default. Until your cookie banner calls hms('consent', 'granted'), nothing is stored in the browser and no visit is sent. If the visitor says no, nothing ever is. Run until consent is denied is for places where the law lets you measure without asking first.

A lead the visitor submits is always sent, because they asked to be contacted. Without consent it carries no visit and no campaign reference, so it stays unattributed rather than being guessed at.

  • Only pages on the origins you allow may send visits and leads from the browser.
  • A single page can be made stricter with data-consent="required", never looser.
  • A paused site receives nothing: the script goes quiet and the webhook address answers "not found".
The script and its consent calls
The Funnels screen with tabs for Websites and forms, Tracked links, Landing pages and Items to review, and a website card marked Receiving, Installation tested and Waits for consent.
Demo data The demo workspace offered when you set up your account.

No cookie. No fingerprint. By default, nothing stored before consent.

The script never reads the user agent, screen, fonts or any other trait of the device. It keeps one random session key in the browser's local storage: after consent on a site that waits for consent, from the first visit on a site set to run until consent is denied. The key is removed when consent is denied. An ad platform's click id is kept only with consent, and only as a hash. Names, email addresses and form answers never enter the event log and are never put in an address.

Tracked links that remember the click without a cookie

A tracked link is a short address you use in a post, an ad or an email instead of the plain one. It counts the click and forwards the visitor to your page with your campaign parameters and a signed, opaque reference. When your form sends the lead, the reference comes back with it, and the lead is tied to that click.

Create one under Funnels, then Tracked links: the destination, a name for reports, where it will be used, and the campaign or post it belongs to. Leave the UTM fields empty and the medium follows the channel, while the campaign travels as a reference code rather than its name.

  • Link previews and crawlers are forwarded but not counted. Clicks are clicks, not people.
  • A destination or parameter that contains an email address is refused.
  • An archived link stops counting and still forwards, so old posts keep working.
  • Your assistant can change where a link leads without changing its short address.
Tracked links and UTM parameters

A webhook your server signs

For a form you already have, your server posts the lead to the site's own address. Field names and a signing sample.

Signed

Each request carries X-HMS-Signature: an HMAC-SHA256 of the timestamp and the raw body, made with the site's signing secret. A wrong signature is refused and recorded.

Fresh

A request older than 5 minutes is refused, and so is the exact same request sent a second time. A captured request cannot be played back later.

Safe to retry

Sign a retry with a new timestamp and it is accepted. Events it repeats are answered as duplicates and change nothing.

Kept on receipt

A receipt is written before anything is processed. The accepted payload is kept for 14 days with personal details removed; a refused request is recorded without its content.

The whole journey

The same address takes what happens later: lead_qualified, sale_won with an amount, sale_refunded. Each names the lead by your own id.

A secret shown once

The signing secret is shown when the site is created or rotated, then stored encrypted. Rotating it makes the old one stop at once.

Install it, then watch the test arrive

Connecting a website is a manager's job in the workspace. The whole thing takes a few minutes.

  1. 1

    Add the website

    Under Funnels, Websites and forms, choose Add a website. Give it a name, the domain and the consent mode.

  2. 2

    Paste two lines

    Copy the snippet from the site's page and paste it before </head> on every page.

  3. 3

    Connect your banner

    Have your cookie banner call hms('consent', 'granted') or hms('consent', 'denied') when the visitor chooses.

  4. 4

    Send a test from your site

    Open your site with ?hms_test=1 on the address. The event appears on the site's page, labelled "Test: created no lead", and the site is marked Installation tested.

What your assistant can do with tracking

It can register your website and hand you the snippet with install steps, make and change tracked links, and check whether events arrive. The signing secret is never returned to it: the reply names the page where a person copies or rotates it.

All 126 tools

Questions about tracking

Does it set a cookie?
No. Neither the script nor a tracked link sets one. With consent the script keeps a single random session key in the browser's local storage, so two page views in the same browser can be told to belong together. It is removed when consent is denied.
What happens to a lead from someone who declined tracking?
The lead still arrives, because the person asked to be contacted. It has no visit and no campaign reference attached, and in the results it is counted in a row of its own, never spread across your campaigns. How results are attributed.
I cannot add a script to my site. Can I still use it?
Yes. Let your server send the lead to the signed webhook, use tracked links in your posts so the click reference reaches the form, import leads from a CSV file, or put the form on a hosted landing page.
What happens when something arrives that cannot be matched?
It is kept, not dropped. An event that could not be read, or one that names a lead, a sale or a campaign HeyMySocial does not know, is listed under Items to review with what was received (personal details removed). A sale for a lead that has not arrived yet is applied when the lead does.
Is there a limit on events?
Each plan includes a number of tracked events a month, from 10,000 on Solo to 1,000,000 on Agency. Past the number, events are still received and nothing is lost; the screen tells you the allowance is exceeded. Test events are not counted.
How do I know the installation really works?
The site's page lists what actually arrived, newest first, and refreshes by itself. Send a test event checks the receiving end. Only a test that came from your own website or your own server marks the site as tested.

Connect your website and send the first test

The demo workspace shows what a connected site, its links and its leads look like before you install anything.