Your data (for merchants)
Customer identity and personal data

Customer identity and personal data

This page explains when Tocadule learns who a shopper is, where their details are kept, and what happens to them.

What counts as personal data

  • Contact details: email, phone number, first and last name, address, date of birth, national id number, and anything else that names a person.
  • Identifiers: the random visitor id in the browser, the IP address, the browser's user agent, ad click ids and order numbers. These do not name anyone by themselves, but under KVKK and GDPR they are personal data once they can be tied to a person. Your visitors' tracking consent decides how we keep and send them (see Consent and marketing permission).

The contact record: one home for customer details

A contact is one person in your workspace, keyed by their email. It holds their email, phone, name, the country and city they gave you, their marketing permission per channel, and their order history with you.

  • The contact is the only place customer details are stored. When an event arrives with an email, phone or name, it is used only to match that one event on the ad platforms (hashed, when the visitor allowed advertising); it never creates or updates a contact, and it is removed before the event is stored. Rows stored before this rule are cleaned in a one-time pass.
  • The contact is your customer list, which you keep whatever a visitor answers in your banner: the banner protects their browsing (tying it to the person) and ad sharing, not the customer list.
  • Each workspace is separate. A shopper of your store is never joined with a shopper of another store, even when the email is the same.
  • A contact's country and city come only from what the shopper or you declared (an address, a form). We never guess them from the IP address.

When a contact is created

MomentContact created?Is their browsing linked?Marketing permission
Your identify call (sign-up, the logged-in line in your common template, the order page, for every buyer)Yes, whatever the banner says (never for bots)For reports only if they allowed tracking; for ad sends only if they allowed advertising aloneOnly what the call carries (subscribed_*)
A Tocadule popup formYes, with an email (never for bots)For reports only if they allowed trackingGiving an email = email permission, giving a phone = SMS permission; a consent box decides its own permissions (a list)
Any other event your site sends (a form event, a purchase) with an email on itNo: the email is that event's ad match onlyNoNone: no event writes a permission
A Shopify order or customerYesOnly if the browser that placed the order allowed trackingFrom Shopify's email and SMS marketing consent
A contact you add by hand or importYesNoNot subscribed, unless you mark the channel (the add-contact form starts unticked)

"Only if they allowed tracking" means the visitor accepted tracking in your cookie banner, or your store has no banner and its Collection setting is everyone (Settings › Privacy & Consent).

When a shopper who allowed tracking is identified, the browsing their browser did before is linked to their contact too, so your reports show their whole journey. A contact is never subscribed to anything without evidence.

Logged-in shoppers

Do not put the shopper's email on browsing events such as product_view. ONE line in your site's common template calls identify when the shopper is logged in. It is standard, not optional: it covers login and every logged-in page, re-links a new browser id (Safari's 7-day cookie cap, cleared cookies, a new device) and opens records for members from before you installed Tocadule. Browsing events go without any email:

<script>
  // In your common template, when the shopper is logged in. Sent once per browser + email per 30 days.
  var email = `{email}`;
  if (email.indexOf('@') > 0 && email.indexOf('{') < 0) tocadule.identify(email);
</script>

Replace {email} with your platform's variable for the logged-in customer's email. Every event that browser sends is then linked to the contact, and ad platforms get a strong match (see What we send to ad platforms). This call never changes marketing permission.

On Shopify you do not need this script. The snippet asks your store who is logged in, Shopify confirms it (a signed request through the Tocadule app), and the browser is linked to that customer's contact when the shopper allowed tracking. A browser can never claim to be another customer.

Script patterns

A browsing event carries no customer details:

tocadule.track('product_view', {
  product_id: '810', name: 'Red Boot', price: 1299.90, currency: 'TRY'
});

A purchase names its buyer with identify. The order page identifies every buyer: identify writes the contact and travels with the purchase in one request, so the purchase belongs to that contact (a logged-in member's repeat is skipped: the snippet sends identify once per browser + email per 30 days). identify is never added to an event: if you call identify, don't put the email on the event. If you don't (you don't want a person record), put the email on the event for its ad match: it is never stored and creates no contact.

tocadule.identify('ayse@example.com');
tocadule.track('purchase', { order_id: '10045', total: '2599.80', currency: 'TRY' });

A sign-up passes the boxes the shopper ticked:

tocadule.identify('ayse@example.com', {
  first_name: 'Ayşe', last_name: 'Yılmaz', phone: '+905551112233',
  // "I agree to receive commercial messages" ticked: one permission per channel
  subscribed_email: true, subscribed_sms: true, subscribed_phone: true,
  consent_etk: true,   // your own record of that box: stored as sent, not marketing permission
  consent_kvkk: true   // your KVKK box: stored on the contact as sent, not marketing permission
});

Call it once, when the form is submitted, with the final state of the boxes. An unticked box changes nothing; it is not an unsubscribe. The full list of permission fields is on Consent and marketing permission.

Customer data in your dataLayer

Some sites push the customer's email into the dataLayer (for example in a user_data block for Google's enhanced conversions).

  • We read it only through a customer-data mapping you set for that event. We never scan the dataLayer for personal data.
  • It is that event's ad match only: hashed for the ad platforms when the visitor allowed advertising, never a contact. It is removed before the event is stored and never sent to anyone as plain text.
  • Values that are already hashed are not passed through (not supported yet).

Visitors who refused tracking

  • Their browsing is never linked to a person in your reports: visits are counted with an id that changes every day. (If they allowed advertising, their browser keeps an id for ad matching only, never stored with their events.)
  • Your identify call (or a Shopify order) still writes their contact: it is your customer record. The event sent together with the identify belongs to that contact, with no browser id. The order is still counted once, and no record holds both the contact and the visitor's day id.
  • What ad platforms receive follows their advertising answer alone: with it, their events and orders go with their hashed details; without it, an order goes only as an anonymous conversion (where the destination counts the not-consented).

What we never do

  • Read form fields on your pages.
  • Join a shopper across different stores.
  • Add data about your customers from outside sources.
  • Sell or share your customers' data for anyone else's marketing.
  • Send customer details to an ad platform as plain text.