Help
Setting up a site, what Datawyre counts and what it keeps.
How it works
1Add the site
- Your site's address
- example.com
- Prove it is yours
- A tag on your home page,
<meta name="datawyre-verify" content="your code">, which any website builder can add. Or a file athttps://example.com/.well-known/datawyre.txt, or a TXT record at_datawyre.example.com - Paste
- One script tag in the head of every page
- Then
- Checking for your first visit. Open any page on example.com and it shows here.
2See the sources
- Where visitors came from
- People only, each source with its medium, such as google · search
- Internal
- Your other sites, and returns from sign-in or payment pages, kept apart
- Filtered
- Referrer spam, deploy checks and uptime monitors, each with its reason
3Open a source
- Landed on
- The first page the visitor opened from that source that day
- Pages
- Every page they opened on the site that day
- Signup
- Signed up, when your server signed the visitor's signup; Signup, unsigned, when it did not. It shows on the visit that brought it, on any of your sites, up to the next UTC day
- Never shown
- IP address, cookie or account
4Leave yourself out
- Exclude my visits
- One button per site, in Settings
- Where
- On each phone and computer you use
- Count me again
- Removes the flag from that browser
Prove the site is yours
Wix
Your site needs to be published with a connected domain before you can add code. In your site's dashboard, go to Settings. Under Development & integrations, choose Custom Code. Choose Add Custom Code and paste the tag. Under Add Code to Pages, choose All pages. Under Place Code in, choose Head. Leave the code type as Essential, the default. Choose Apply. Then publish your site.
Squarespace
Code Injection needs a Core, Plus or Advanced plan, or some older plans. Open the Pages panel. At the bottom, choose Custom Code. On version 7.0 sites, choose Website Tools instead. Choose Code Injection. Paste the tag into the Header field. Choose Save.
Shopify
In your Shopify admin, go to Online Store. Next to your current theme, open the actions menu (the ... button). Choose Edit code. In the Layout folder, open theme.liquid. Paste the tag on a blank line directly below <head>. Choose Save. If your store has a password page, turn the password off while you prove your site. You can turn it back on afterwards.
WordPress
Install and activate the WPCode plugin. In your WordPress admin, go to Code Snippets. Choose Header & Footer. Paste the tag into the Header box. Choose Save Changes.
WordPress.com
Adding header code needs a paid WordPress.com plan. Install and activate the WPCode plugin. Go to Code Snippets. Choose Header & Footer. Paste the tag into the Header box. Choose Save Changes.
Webflow
Custom code needs a paid Site plan, or a Core, Growth, Agency or Freelancer Workspace. Open Site settings. Choose the Custom code tab. Paste the tag into Head code. Choose Save changes. Then publish your site.
Plain HTML
Open your home page file, usually index.html. Paste the tag on a new line between <head> and </head>. Save, and upload the file to your site.
Questions
- What does Datawyre show?
- Visits and where they came from: visitors and page views by day, your top pages, the sources that sent people, and the campaigns, countries and devices they came from, each with its share of your visitors. Not open to your sites yet: revenue by the source that brought itComing. AI crawlers and assistants counted apart from peopleComing need a route in front of every page on your domain, so they are not counted yet.
- Are bots and spam in my numbers?
- No. Your numbers count people only. Bots and crawlers that run the script are left out and listed under Filtered with their count. Crawlers that do not run scripts never reach Datawyre. Referrer spam, deploy checks and uptime monitors are left out too, each listed under Filtered with the reason.
- Can I keep my own visits out?
- Yes. Exclude my visits in Settings stores one flag in your browser for that site, and the script then sends nothing from it.
- What if an ad blocker stops the script?
- You can serve the same script from a path on your own site through a small proxy, Cloudflare Worker or nginx, with a key Datawyre keeps only a hash of.
- Do I need a Postwyre account?
- Yes. Datawyre accounts use your Postwyre sign-in.
- Is there a free allowance?
- Not decided yet.
- What happens if my credits run out?
- Datawyre keeps counting, so there is no gap in your history. What you can see until you top up is not decided yet.
Privacy, stated exactly
- No cookies, nothing stored on visitors' devices
The script is 1,386 bytes. It sends the page address, the referrer, the window width and the name of any goal you track. Nothing else about the device. The one flag it ever stores is on a device you mark yourself with Exclude my visits, so your own visits stop counting.
- A visitor code that expires
Each visit is counted with a hash of a random daily key, the site, the IP address and the browser string. The key is deleted within two days, and after that no one, us included, can work the code out from an IP address again. If a visitor signs up, that day's visits stay linked to their account id for as long as raw visits are kept.
- Never stored
Names, email addresses, IP addresses, full browser strings and full query strings. Campaign tags are kept as labels.
- How long visits are kept
Raw visits are deleted after 395 days. Daily totals, which hold no visitor codes, are kept.