Semust Metrik
Troubleshooting
What to check when no data arrives, events are missing, or numbers look wrong.
Metrik is built to fail quietly: a broken installation does not throw errors onto your site, it simply records nothing. This page covers the situations that come up most and how to check each one.
Product page: Semust Metrik.
No data at all
Is the script loading?
Open the browser console on your site and type
window.semustMetrik. If it returnsundefined, the script never loaded — check that the script tag is in your page source and that the address is correct.Is the filename intact?
The script identifies itself by its filename. If you copied it to your own server under a different name, or bundled it together with other files, it cannot read your access key.
Is the access key right?
Check that
data-tokenmatches Settings → Access Key. If you rotated the key recently, the value on your site needs updating too.Is Do Not Track enabled?
If your own browser has Do Not Track or Global Privacy Control on, Metrik sends nothing. Try a different browser.
The most common cause: the filename
The address of the file can change, but its name must stay semust-js.min.js. When
that rule is broken you see no error at all — just no data.
Nothing shows up in local development
Visits from localhost and private network addresses are deliberately not recorded.
Deploy the site to a real domain to test your installation.
Some events are missing
| Symptom | Likely cause |
|---|---|
trackPayment() does nothing | data-revenue="true" is missing |
| The event arrived but has no name | The event name is longer than 32 characters |
| Letters are missing from the event name | Non-ASCII characters were used; only a-z, 0-9, _, :, - are kept |
| Some properties are missing | More than 10 properties were sent, or a value was an array or object |
| A goal is not counted | The attribute name is wrong — it must be data-semust-goal |
The numbers look lower than expected
Check your monthly allowance
Look at your usage on the Settings tab. Once it runs out, new events are not recorded and are not backfilled.
Remember bot traffic is excluded
The dashboard leaves out bot traffic, so your server logs will always show higher numbers than Metrik.
Today is incomplete
Today is drawn with a dashed line in the chart; it looking low before the day ends is normal.
Unique visitors look too high
If cookieless mode is on, the visitor id is regenerated daily, so the same person returning on several days counts as a new visitor each time. This is the expected behaviour of cookieless mode.
A Fast Goal is not matching
| Check | Note |
|---|---|
| Letter case | The path is case-sensitive — /Pricing and /pricing differ |
| Query parameters | If you put them in the pattern, they must match exactly |
| Changing parameters | Do not include parameters that change on every visit |
Anything after # | Never reaches the server, so leave it out of the pattern |
Paste a real address into Test a URL in the goal dialog to see whether the host or the path was the mismatch.
Revenue is not showing
Is revenue tracking on?
Without
data-revenue="true"no payment is recorded.Is an amount being sent?
Orders detected automatically from a payment provider's return address carry no amount. Call
trackPayment()on your thank-you page to record revenue.Are you looking at the right currency?
If you sell in several currencies, switch currency in the top bar. Different currencies are never added together.
Getting help
If the problem persists, contact support with your access key, your site address and the steps you have already tried.
