Install the denuo. tracker.
Everything needed to install the tracker, in nine steps on this page. The code itself is one line, pasted once.
Setting up for a Traffic Scan? The tracker stops by itself 30 days after your results call if you don’t continue, and the data is deleted. The details are in the Traffic Scan Terms. Adding the code to your site accepts them on behalf of your business.
Enter your client code, then click “Get my code”.
Check the code loads, connect your cookie banner, update your privacy policy, add the Shopify extras if you want them, leave your team out, and tell Miguel.
See all steps ↓Step by step
Everything to do, in order.
All nine steps are on this page. Steps 2 and 3 happen at the top: your code and where to paste it appear when you click “Get my code”.
- 01
Before you start
There is nothing to sign for this step, and no separate data processing agreement is needed.
Traffic Scan: adding the code to your site accepts the Traffic Scan Terms. Their section 4 applies the data processing terms GDPR requires, which are in Schedule 1 of the Terms of Service.
Paid plan: the agreement you signed with denuo. already includes the same Schedule 1.
Send Miguel every web address the tracker will run on, including other country stores, a second domain and staging sites. The collector refuses data from any address that isn’t on your list.
- 02
Get your code
Open this page from the link in Miguel’s email, so your client code is already filled in, and click “Get my code” at the top. The code is the same on every platform; only the place you paste it changes.
- 03
Paste it on every page
Choose your platform at the top of this page and follow the three steps shown in the yellow box. Save, and publish if your platform asks you to. The line must be on every page, so use the site-wide footer or custom code setting, not a single page.
- 04
Check it loads
- Open your website in Chrome, right-click anywhere and choose Inspect, then open the Network tab.
- Type
denuoin the filter box and reload the page. - You should see
denuo.jsload once, then, a few seconds after you click around, requests tot.denuomarketing.com/ewith status200.
A status of
403means the web address isn’t on your list: send it to Miguel. No requests at all means the line isn’t on the page yet, or a speed or caching plugin is holding it back: excludedenuomarketing.com/denuo.jsfrom combining and delaying scripts.If your site uses a Content Security Policy, allow
script-src https://denuomarketing.comandconnect-src https://t.denuomarketing.com. - 05
Connect your cookie banner
Before a visitor accepts analytics cookies, the tracker stores nothing on their device and can’t link their visits across days. Once they accept, it sets a random visitor id. To do that it has to know the visitor’s answer.
Read automatically: Shopify’s own cookie banner, Cookiebot, OneTrust, CookieYes, Complianz, and any banner that sends a Google Consent Mode update for
analytics_storage. If you use one of these, there is nothing to add.Any other banner: ask whoever manages it to add this code, the second line where the visitor accepts analytics and the third where they refuse or withdraw:
Test it: on your site, open the browser console (right-click → Inspect → Console) and type
denuo('log'). Accept and refuse in your banner and run it again:consentshould change betweengrantedanddenied.If your banner blocks scripts until consent (for example Cookiebot or OneTrust auto-blocking), that is fine: the tracker then runs only after consent.
- 06
Update your privacy and cookie policies
As the owner of the website, you tell visitors about the tracker in your privacy policy. You can use this text as a template for the analytics or cookies section. It is a recommendation, not required wording, so adjust it to match the rest of your policy and ask whoever handles data protection for you to check it.
Website analytics. We use denuo., an analytics tool run for us by Miguel Nogueira de Almeida (denuo.), an independent consultant in Portugal, acting as our data processor. It shows us which pages, products and campaigns work, and where visitors leave, so we can improve our shop. It records the pages you visit, where you came from, what you click, how far you scroll, the products you view and add to your cart, and your orders, together with your browser type, device type, language and country. It never collects your name, email address, phone number, postal address, payment details, what you type into forms, or your IP address. If you don’t accept analytics cookies, nothing is stored on your device and your visits can’t be linked from one day to the next; we rely on our legitimate interest in understanding how our website is used. If you accept, a random visitor id is stored in a cookie for up to 2 years so we can recognise returning visits; if you are logged in or give us your email address, your customer number or email address is scrambled (hashed) in your browser, so visits on different devices and your orders can be joined; the address itself is not sent to the analytics tool. You can withdraw this consent at any time in our cookie settings. We respect Global Privacy Control and Do Not Track signals. The data is stored with Cloudflare in the EU, which, as a US company, may process some of it outside the EU (for example network routing) under the EU–US Data Privacy Framework and the European Commission’s Standard Contractual Clauses. Reports are rebuilt each night on servers of GitHub (part of Microsoft, US), under the same framework. It is analysed with the AI assistant Anthropic (Claude), under commercial terms that exclude training on the data, and Miguel reviews every result before it reaches us. It is never sold or used for advertising, and it is deleted after 13 months.This list is for your cookie policy, or your banner if it lists cookies by category. All of these are first-party cookies, set on your own domain.
Name Type Purpose Lasts denuo_consentNecessary Remembers the visitor’s analytics choice so it’s respected on every page 12 months denuo_optoutNecessary Only set if the visitor opts out of measurement completely 5 years denuo_tldAnalytics Written and deleted at once, only after consent, to find the shop's main domain for the cookies above Under a second denuo_visitorAnalytics Random visitor id that links visits over time 2 years denuo_sessionAnalytics Groups pages into one visit; a new visit starts after 30 minutes without activity 1 day denuo_propsAnalytics Extra labels your site sets, if any 2 years denuo_metaAnalytics Visit count and date of the last visit (local storage) Until cleared denuo_dlinkAnalytics Last discount link seen, so it isn’t counted twice (local storage) Until cleared denuo_userAnalytics Hashed customer number or hashed email address of a customer who logged in or gave their email 2 years denuo_ordersAnalytics Last order numbers seen, so an order isn’t counted twice (local storage) Until cleared denuo_internalNecessary Only on your team’s devices, to leave your own visits out (local storage) Until cleared Strict mode (optional)
Adds: nothing is sent until the visitor accepts analytics cookies. Without strict mode, the tracker measures visits without cookies before consent, under your legitimate interest.
Effect on your reports: visitors who never answer the banner aren’t counted, so you see fewer visits.
When to use it: if whoever handles data protection for you reads the ePrivacy rules as needing consent even for measurement without cookies. If not, skip this box and go to step 07.
To turn it on:
- On your site, use this line instead of the code from step 2. It is the same code with
&strict=1added. - In the privacy text above, replace the first sentence of the second paragraph with “Nothing is recorded until you accept analytics cookies.”
- On your site, use this line instead of the code from step 2. It is the same code with
- 07
Checkout and order updates
Shopify only, optional · Adds: the checkout steps and exact revenue after refunds and cancellations. Shopify doesn’t let the line from step 3 run inside checkout, so these two extras fill that in.
Next: give Miguel staff access and he adds them, or follow the two steps below.
Checkout pixel: Settings → Customer events → Add custom pixel. Name it denuo, set its permission to Analytics (so it only runs for visitors who allowed analytics), paste this code, then Save and Connect.
Order updates: Settings → Notifications → Webhooks → Create webhook. Create six, for Order payment, Order update, Order cancellation, Refund create, Checkout creation and Checkout update, each with format JSON and this URL:
Shopify then shows a key under “Your webhooks will be signed with…”. Send it to Miguel by password-manager share or on a call, not by email. Only order and checkout figures, products, discount codes, the shipping country and a hashed customer number are kept from these notifications. Names, emails, phone numbers and addresses are discarded.
- 08
Leave your team out
On each team device and browser, open your site once with
?denuo_internal=1at the end of the address, for exampleyourshop.com/?denuo_internal=1. Your team’s visits are then marked and left out of the reports. Repeat it after clearing browser data;?denuo_internal=0undoes it. - 09
Tell Miguel
Email Miguel once the code is live, and say whether you added the Shopify extras or strict mode. He checks that data is arriving and confirms by email.
Tell Miguel it’s in →
After setup
- New theme or redesign: paste the line into the new theme before you publish it. In Shopify, a newly installed theme doesn’t include the code.
- New web address: tell Miguel before the tracker runs there, so its data isn’t refused.
- New cookie banner: repeat step 05.
- Stopping: delete the line, and in Shopify the pixel and webhooks, then tell Miguel. He deletes your data within 30 days and confirms in writing.
Good to know
- 01
Doesn’t slow the site
About 33 KB compressed, loaded after the page has shown. If the collector can’t be reached, the page doesn’t wait for it.
- 02
Sends data only to denuo.
Your data is stored in denuo.’s Cloudflare account, separately from other clients’ data. Cloudflare keeps it in the EU jurisdiction and, as a US company, may process some of it outside the EU. It is not sold, and is shared only with the sub-processors in your agreement (Cloudflare, GitHub for the nightly report update, and Anthropic for AI analysis). It is deleted after 13 months, or within 30 days of the end of your agreement (for a Traffic Scan you don’t continue, within 30 days of tracking stopping).
- 03
No contact or payment details
No names, emails, phone numbers, addresses, payment details, form contents (other than a discount code) or IP addresses are stored.
Questions
We already use Google Analytics or Klaviyo.
We use Google Tag Manager.
Our site is a single-page app or a headless store.
dataLayer; if your store has neither, send Miguel a note and he’ll send the commands your developer needs.Something on screen doesn’t match these steps.
Anything else: email Miguel at hello@denuomarketing.com. Miguel replies within 2 business days.
Reference for your data protection lead or developer, not needed for setup: Privacy and GDPR · Technical questions · A/B tests · Cart and order events