Privacy policy: Digitalbees Tracking
2. Who we are
This policy uses “we” for this company:
MB Digital bees hive, company code 307536676, V. Pietario g. 4-12, LT-03125 Vilnius, LithuaniaContact: connect@digitalbees.io
A Client is a company that uses our service for its website or its store. A merchant is a Client with the Shopify app.
For a Site with our tracking script, the Client is the controller of the visitor data, and we are the processor. A Site is a website or a store that we check for the Client.
For the data of store visitors and orders, the merchant is the controller and we are the processor. For the merchant’s own store data (the store name and the shop domain), we are the controller.
The legal basis for this controller data is the contract with the merchant, GDPR Art. 6(1)(b). The app needs this data to work for the store. The merchant can ask for access, correction, erasure, or objection at the contact address.
For the data of portal accounts (section 18), we are the controller.
3. Scope
This policy covers these services:
- Sites with our tracking script (sections 5 and 6).
- The Shopify app “Digitalbees Tracking”, in its development version “Digitalbees Tracking (dev)” (sections 7 to 11).
- The accounts of our portal (section 18).
This policy also covers the Google sign-in of the Shopify app “Digitalbees Store Sales”, in its development version “Digitalbees Store Sales (dev)”. Section 17 tells what this app gets from Google. This policy does not cover the other data of that app.
This policy does not cover the digitalbees.io website.
4. Why we process data
Our service has one purpose. We check that the tracking of a website or a store works, and that the website runs without faults.
Tracking means the events that the website sends to GA4, Google Ads, Meta, TikTok, and LinkedIn. For a store, it also means the checkout events and the orders. A fault of a website is a JavaScript error, a failed request, or a slow page. When something breaks, we find the fault and tell the Client.
We do not use the data for advertising, for profiles, or for sale. We do not share the data, except with the sub-processors in section 12. We make no automated decisions with legal or similar effects.
5. Sites with the tracking script
A Client adds a website in our portal. The portal then gives a script tag, or a loader for Google Tag Manager, with the id of the Site. The Client puts it on the website.
The script runs on each page where the Client loads it. The plain script has no consent check. The Client decides when the script loads, for example only after the visitor accepts in the cookie banner. The Client is responsible for the legal basis of this processing.
With the attribute data-schema-only="true", the script sends the names of the fields of each tracking request, and the values of only a few technical fields.
Section 6 tells what the script sends and what we store.
For each Site, we also store the website host and its Origins, the time zone, and the status of the Site. We store a random Site id, a secret key, and the settings of section 6. We store the times when the Site was added, paused, started again, and removed.
6. The tracking script
The same tracking script runs on a Site with the script (section 5) and in the theme app embed of the Shopify app (section 11).
The script writes no cookie and uses no browser storage. On each page, it sends:
- a copy of each GA4, Meta, Google Ads, TikTok, and LinkedIn tracking request of the page,
- JavaScript errors, failed requests, and failed resources,
- web vitals, which measure the speed of the page,
- the tracking events that the page adds to its data layer,
- the choice of the visitor in the cookie banner: accept, reject, a custom choice, or close,
- the time when a cookie of the list below first appears on the page,
- one health report, which tells which tracking tags the page has. It also holds the Google Tag Manager container ids, the count of loads of each tracking script, the Meta pixel version, and the choice in the cookie banner.
Each record holds two random ids that the script makes again on each page load. They link the records of one page load only. Our server also stores the version of the script with each request.
A failed request record holds the address of the request, the method, the status, and the transport. It also tells if the page was hidden or offline. For a request with no answer, it can hold a short hint of the cause.
A web vital record holds the name of the measure, its value, its rating, and a random id that the measure library makes.
From the data layer, the script sends up to 60 events on a page. Of these, at most 20 are events that the page added before the script loaded. It cuts each event to 1000 characters.
For the cookie banner, our server keeps only the banner tool and the choice. For a cookie, it keeps only the name of the cookie and the time.
The script also reads if these cookies exist on the page and when they first appear:
_gathe GA4 cookie_fbpthe Meta pixel cookie
It does not send or store the value of a cookie.
The health report also tells if the page address holds an ad click id. The script looks for these fields in the page address:
gclida Google Ads click idfbclida Meta click idttclida TikTok click idgbraida Google Ads click id for iOSwbraida Google Ads click id for iOS
The health report holds only yes or no for this check. It does not hold the value of the click id. The copy of a GA4 request holds the page address as the page sends it, and that address can hold the click id. Our server removes the value of the address before storage, as this section says.
Our server reads the User-Agent header of each request from the script. From this header, it finds the device class and the browser family of the visitor, and stores them in the health report:
devicethe device class: desktop, mobile, tablet, or otherbrowserthe browser family: chrome, safari, firefox, edge, samsung, or other
If the header names a bot, our server also stores the kind of bot on all data of that request. It keeps that data out of the numbers and the Problems of the Site. The kinds are:
searcha search engine or a search tooladsan ad check of Googleaia bot of an AI serviceaudita speed test, an uptime check, or an automated browserconsenta cookie consent scannerunnameda bot with no known name
Our server does not store the User-Agent header with this data. No log that we keep holds it (section 12).
The script and our server replace with __redacted__ the value of each field whose name shows personal data. These are the fields for an email address, a phone number, a name, an address, a postal code, a user id, and a page title. They are also the hashed fields of Google enhanced conversions, and each advanced matching field of Meta. They do the same for the visitor cookie ids and the ad click ids of Meta, Google Ads, and TikTok. A phone number that is the whole value of a field also becomes a marker.
By default, our server replaces the GA4 client id and user id with a keyed hash for each Site. Our staff can set a Site to keep these ids as the page sends them. Our server then still removes email addresses from them. The Client sees this setting in the portal, on the page of the Site, under “Advanced: Site settings”, in the row “Visitor ids”. Our staff can also set a Site to remove more values. They cannot set a Site to keep more.
Our server stores the GA4 page title only as a keyed hash, also when the Site keeps the visitor ids. It removes email addresses from all values that it stores.
A tracking request or a data layer event can hold an email address or a phone number. Then our server stores only the kind (email or phone), the kind of field, and the field name. It does not store the value.
Our server also changes these address fields. It keeps only the origin and the path of the page address. In the path, it replaces each segment after a mask word of section 8 with *, each email address with __redacted__, and each phone number, long code and UUID with :id. It removes the value of each other field in this list:
pageLocationthe page addressdlthe page address in a GA4 or Meta requestdrthe referrer in a GA4 requestrlthe referrer in a Meta requesturlthe page address in a Google Ads or LinkedIn requestrefthe referrer in a Google Ads request
For each GA4 request, our server also finds if the dl field holds one of these click ids. It does this before it removes the value of dl. For this check, our server stores only yes or no.
For the first GA4 request of each page, our server also finds if the dr field names another website of the same Client. It does this before it removes the value of dr. For this check, our server stores only the host name of that website and yes or no for a _gl field in dl.
The script and our server also clean the free text that can hold personal data. In the address of a failed request or a failed resource, they replace each email address with __redacted__. They replace each phone number, long code and UUID with :id. They keep the query of this address, and remove a user name in front of the host. They do the same in the message and the stack of a JavaScript error. Of the script address of a JavaScript error, they keep only the origin and the path. In a data layer event, a value that is an email address or a phone number becomes a marker, and a long code becomes :id.
Other text stays as the page sends it. Examples are a name in a free text field, and a field of a Meta or Google Ads request that this section does not name.
The stored copy of a GA4 request also keeps these fields as the page sends them:
uafvlthe versions of the browseruamthe device modeluambif the device is a mobile deviceuapthe platformuapvthe platform versionsrthe screen sizeulthe language of the browser
When a Site sends or keeps names only (section 5), our server empties these values.
If a tracking request sends content in a format other than form fields, for example compressed or as JSON, our server does not store that content.
We keep the records of the script for the time in section 13.
7. What the app reads from the store at install
- The app reads the store name, the
*.myshopify.comdomain of the store (the shop domain), the primary domain, and the app installation id. - We keep the store name, the shop domain, the storefront Origins, and our own Client and Site ids.
- The app gets a Shopify access token each time the merchant opens the app page. The app uses the token only in that request and never stores it.
The app asks for these access scopes:
read_customer_eventsregisters the web pixel.write_pixelsregisters the web pixel.read_ordersreceives the order webhook.read_themesreceives the theme publish webhook and reads the state of the theme app embed.
The uninstall webhook carries the contact details of the merchant. The app never stores or logs that webhook body.
8. The web pixel (store visitors)
Shopify runs the pixel only when Shopify allows processing for this purpose:
analytics
Shopify decides that from the consent of the visitor, the privacy settings of the store, and the location of the visitor.
The pixel does not count as a sale of data.
The pixel sends data for these events:
page_vieweda page viewproduct_vieweda product viewproduct_added_to_carta product added to the cartcheckout_starteda checkout startpayment_info_submittedpayment details sent to Shopifycheckout_completeda completed checkout
The pixel sends these fields, and we keep them:
eventNamethe event nameclientTsthe event timepageLocationthe page addresseventIdthe Shopify id of the eventcurrencythe currencytotalthe checkout total, the cart line total, or the product priceitemCountthe count of checkout lines, or the quantity of a cart lineorderIdthe order id
The page address is the origin and the path only, with no query and no hash. Each path segment after one of these words becomes * in the browser and again on the server:
checkoutscheckoutorderscartresetactivategift_cardslogin
The pixel does not read the name, the email, the phone number, or the address of the buyer. It does not read the customer id, the payment details, or the checkout token. It does not read device or browser details, the Shopify visitor id, cookies, or browser storage.
9. Orders (webhook)
For each new order, Shopify sends only these fields:
admin_graphql_api_idthe order idnamethe order namecreated_atthe created timecurrencythe currencytotal_pricethe totalsubtotal_pricethe subtotaltotal_taxthe taxline_items.idthe id of each line itemsource_namethe sales channelfinancial_statusthe payment statustestthe test flag
The app keeps these values:
orderIdthe order idnamethe order namecurrencythe currencytotalthe totalsubtotalthe subtotaltaxthe taxlineItemCountthe count of line itemssourceNamethe sales channelfinancialStatusthe payment statustestthe test flag
The app also keeps the created time of the order. It keeps no content of a line item. It keeps no name, email, phone number, address, or customer id of the buyer.
Order data comes from the servers of Shopify, not from the browser of the visitor. Thus the cookie banner does not apply to it.
10. Store change markers
The app receives these webhook topics:
orders/createa new orderthemes/publisha theme publishapp/uninstalledthe uninstall of the appcustomers/data_requesta customer data requestcustomers/redacta customer redact requestshop/redacta shop data erase request
For a theme publish, the app keeps the theme id and the theme name. For an install and for an uninstall, the app keeps the time and the shop domain.
11. The theme app embed
The app includes a theme app embed. It is off until the merchant switches it on in the theme editor. The embed loads the tracking script of section 6.
The embed loads the script only when Shopify allows processing for this purpose:
analytics
Shopify decides that as section 8 states. The embed checks it on each page load and when the visitor changes the consent. If the visitor withdraws consent, the script stops at the next page load.
12. Where the data is and who processes it
- Google Cloud Firestore stores the data, and Cloud Functions process it, in europe-west1 (Belgium).
- The Firebase Hosting network serves this page, the tracking script, and the endpoints of our server from the edge locations of Google.
- The sub-processor is Google Cloud EMEA Limited, Ireland. Google Cloud EMEA Limited uses the sub-processors that Google lists in its data processing terms.
- For the billing of portal accounts, Stripe Payments Europe, Limited, Ireland gets the data that section 18 names. Stripe can process this data outside the EEA. Stripe gets no data of visitors.
- Google Cloud makes a request log for each request to our server. The log holds the request URL, the address that the request comes from, and request headers, such as the User-Agent header. A filter of our project stops each request log before Google Cloud stores it.
- For each request from the pixel or the tracking script, our server keeps a code made from the network part of the address that the request comes from: the first three parts of an IPv4 address, or the first three groups of an IPv6 address. Our server never stores the address. It stores only this code, which it makes from the network part, a secret key of the Site, and the day. The code cannot be turned back into the network part. Someone who holds the secret key can only test each possible network part until one gives the same code. The code changes every day, so the code alone does not link one day to the next. We use the code to see how many different networks report a fault. For some requests, for example in the last seconds of a day, our server keeps no code.
- The URL of the app page holds the Shopify session token. This token names the merchant staff user who opens the app.
- Our own log lines hold the shop domain, the Site id, and a refused Origin. For each portal request, they hold the sign-in id of the person and the id of the account. For a tracking request that our server cannot read, they hold the host and the path of that request. For a customer data request or a customer redact request, they also hold the order ids of the request.
- Our own log lines never hold a customer field or a full request body.
- Google Cloud keeps our own log lines in its Cloud Logging
globallocation, which can be outside the EEA. It keeps them for 30 days.
13. How long we keep data
- Raw records are the records of the tracking script, the pixel, the orders, and the store changes. We keep each raw record for a number of days after receipt. Then Firestore deletes it.
- For a Site with the tracking script, the default is 90 days. Our staff can set from 30 to 365 days for a Site. The Client sees the value in the portal, on the page of the Site, under “Advanced: Site settings”, in the row “Retention, days”.
- A Shopify Site always keeps its raw records for the default number of days.
- We keep the hourly counts, the anomalies, and the Problems of a Site while the Site exists. The hourly counts hold counts, page types, tag ids, and the names of personal fields. They hold no value of a visitor.
- An open Problem keeps up to 10 page addresses for each page type, with the origin and the path only. It also keeps a hash of up to 200 page addresses. We delete them when the Problem ends, when the Site is paused or removed, or when the merchant removes the app. Thus an open Problem can keep page addresses longer than the raw records.
- When a Site is paused, our server accepts no new data of the Site within 60 seconds. The raw records keep their days.
- When a Site is removed in the portal, our server deletes all data of the Site within about 1 hour.
- We keep the shop record until the shop data erase request of Shopify. Shopify sends this request 48 hours after the uninstall. This request deletes the shop record only. The raw records of the store stay until their days end.
- We keep the store name, the shop domain, and the Origins until the merchant asks us to delete them.
- Google Cloud keeps our own log lines for the number of days in section 12. Our own log lines include the order ids of each customer request.
- After the uninstall, the app accepts no new data from the store.
14. Security
- Our service uses HTTPS only.
- For a Site with the tracking script, our server accepts data only for a known active Site, and only from an Origin of that Site. The plan of the account must allow it, and each request must stay within limits of size and rate.
- The app checks the Shopify signature of each webhook. It checks the Shopify session token of each app API request.
- Google encrypts the stored data at rest.
- The database rules deny all direct access from a browser. Only the backend service and our operators read the data directly. An operator reads it with their own Google Cloud credentials.
- The members of a portal account read the data of the Sites of their account through our server, after they sign in.
- The app secret is in Google Secret Manager. The app never stores the access token.
15. Requests from visitors, customers and merchants
For a Site with the tracking script, a visitor sends a request about their data to the Client, because the Client is the controller. We help the Client as the data processing agreement (section 16) says. We do not store the data by person, and by default the visitor ids are hashed. We do not store the internet address of a visitor with the data or in a log (section 12). Thus we can find the data of one person only in part.
The pixel and the order webhook store no customer name, email, phone number, address, or customer id. Section 6 tells what the tracking script stores.
Shopify sends us customer data requests and customer redact requests. An alert tells us about each request.
- We answer each request by email within 30 days.
- For each order in a customer redact request, we delete the order record and each pixel record that holds the id of that order. We do this within 30 days.
- All other records expire as section 13 states.
A Client, a merchant staff user, or a visitor can write to the contact address in section 2.
Our supervisory authority is the Lithuanian State Data Protection Inspectorate (Valstybinė duomenų apsaugos inspekcija). A visitor can also complain to the supervisory authority of their own EU state.
16. Data processing agreement
For a Site with the tracking script, our data processing agreement is at https://td.digitalbees.io/dpa. It is part of our terms of service at https://td.digitalbees.io/terms. A Client accepts the agreement when it accepts the terms. A merchant with the Shopify app can ask for a data processing agreement at the contact address in section 2.
17. Google data of the store sales app
The merchant can connect a GA4 property to the store sales app with a Google sign-in. The Google sign-in screen shows our name “Digital Bees”. The merchant can also enter the GA4 values by hand. Then the app gets no data from Google.
The app asks Google for two scopes, each in its own sign-in:
https://www.googleapis.com/auth/analytics.editlets the app read the GA4 properties and web streams, and create an API secret.https://www.googleapis.com/auth/analytics.readonlylets the app read the reports of the connected GA4 property, to find the store sales that GA4 did not get.
The app does not ask for the name, the email address, or the profile of the Google account. The first sign-in connects the property. It gets no refresh token, so this access ends after 1 hour at the latest.
After the connect, the app offers a second sign-in for read-only access. The merchant can skip it, or untick it on the Google screen. The connect and the sends then work as before. If the merchant gives this access, Google gives the app a refresh token, which the app keeps until the access ends. The app keeps it only when Google gives exactly the read-only scope.
With the first scope, the app reads only these data from Google Analytics:
- The names of all GA4 accounts and properties that the signed-in Google account can see. The app keeps only the properties that this account can edit, at most 50.
- The web streams of only these properties, with their names and Measurement IDs.
- The names and the values of the Measurement Protocol API secrets of the web stream that the merchant picks. The app keeps only the value of its own secret.
With the second scope, the app reads only reports of the connected GA4 property: the counts of the purchase and refund events of each transaction ID. The app compares them with the store sales and refunds that it sent. It does not change the property with this scope.
The app makes only these changes in the GA4 property that the merchant picks:
- It creates one Measurement Protocol API secret named “Digital Bees store sales” in the picked web stream. If the stream already has a secret with this name, the app uses that secret and creates no new one.
- If GA4 asks for the user data collection acknowledgement of Google, the app shows its text. If the merchant ticks it, the app accepts the text for that property in the name of the merchant.
After the connect, we keep these values for the shop until the merchant presses “Stop” or removes the app:
- The Measurement ID of the picked web stream.
- The name and the ID of the picked GA4 property.
- The value of the API secret. We use it only to send the test event and the store sales of the shop to this property.
During the connect, our server keeps the Google access token and the list of properties and web streams in Firestore. The token never goes to the browser.
After the connect, the app asks Google to revoke the token, and it deletes the token and the list. If the merchant does not finish the connect, the token expires at Google after 1 hour. Firestore then deletes the token and the list, usually within 24 hours.
Our server keeps the refresh token of the read-only access in Firestore only in encrypted form. The key is in Google Secret Manager. The token never goes to the browser, and no answer or log line holds it. When the merchant presses “Stop”, connects again, gives the read-only access again, or removes the app, the app asks Google to revoke the read-only access and deletes the token.
Google sends the browser back to our address https://td.digitalbees.io/google/callback with a one-time code. Our server then sends the browser on to the app page in the Shopify admin, with the same code. The Shopify admin also gets this address. The code works only one time, and only together with a secret key that only our server has.
Our own log lines of the connect hold the shop domain and the Measurement ID. They never hold a token, the code, or the API secret. The client secret of our Google app is in Google Secret Manager.
The merchant can end the access of the app to Google Analytics:
- The app asks Google to revoke its edit access after each connect, and its read-only access when the merchant presses “Stop” or removes the app. If the app still shows on the Google account permissions page, https://myaccount.google.com/permissions, the merchant can remove it there.
- The API secret stays in GA4 after “Stop” and after the removal of the app. The merchant can delete it in GA4 Admin, under Data streams, the web stream, Measurement Protocol API secrets.
We use the data from Google only to connect the GA4 property of the shop, to send the store sales of the shop to it, and to find the store sales that it did not get. We do not use it for advertising, and we do not sell it.
Our staff read these data only to fix a problem that the merchant reports, for security, or when the law requires it.
Digital Bees's use and transfer of information received from Google APIs to any other app will adhere to the Google API Services User Data Policy, including the Limited Use requirements.
18. Portal accounts
A person can sign in to our portal, https://web-tracker-23-app.web.app/, with an email link. In the portal, the person can create an account for their company, or join an account by invitation. For this data, we are the controller.
What we store:
- The email address of the person, the sign-in id, the time of the first sign-in, and the time of the last sign-in, in Firebase Authentication.
- The name of each account that the person creates or joins, the role of the person in it, and the time when the person joined.
- For each account, the time when it was made, the plan and its state, and the Sites of the account (section 5).
- For each invite that waits, the email address of the invited person, the sign-in id of the person who made the invite, and the time of the invite and the time that the invite ends.
- For each person, a record of the acceptance of each document that the portal asks for: the privacy policy and the terms of service. The terms of service include the data processing agreement. The record holds the document, the version, the time of the acceptance, and the sign-in id. It links to the sign-in id of the person, not to the email address. The portal asks again when one of these documents gets a new version.
We send the account name, the id of the account, and the email address of the owner to Stripe when the owner opens the payment page of a plan. Stripe collects the billing address, the VAT number, and the card details on its own page. We store only the customer id that Stripe gives and the state of the plan.
Why we store it: the email address signs the person in. The account name tells the person and our staff which websites belong together. The plan data lets the account pay for its plan. The invite lets the person with that address join the account when the person signs in with that address. The acceptance record shows that the person accepted the current version of each document before they used the portal. The legal basis is the contract with the person, GDPR Art. 6(1)(b). For the acceptance record, the legal basis is our legitimate interest to show what the person accepted and when, GDPR Art. 6(1)(f). For an invite that waits, the legal basis is our legitimate interest to let an account add a colleague, GDPR Art. 6(1)(f).
How long we keep it: we keep the email address until the person asks us to delete their sign-in. We keep the acceptance record until the person asks us to delete their sign-in. We keep the account name while the account exists. The owner of an account can ask us at the contact address in section 2 to close the account. We then delete the account name and the roles within 30 days.
We delete a waiting invite when the person joins the account or when it is cancelled. An invite that nobody uses ends 30 days after it was made and gives no access after that. Firestore then deletes it, usually within 1 day.
Who can see it: the person, the other members of the same account, and our staff. The owner of the account and our staff can see the address of a waiting invite. The other members cannot. We do not share it with anyone else, except the sub-processors in section 12.
A person can ask for access, correction, or erasure at the contact address in section 2.
19. Changes
A new version of this policy appears on this page, https://td.digitalbees.io/privacy, with a new version number and a new effective date.