# Privacy and consent

Source: https://help.ruuster.com/idx/privacy-consent

> What the recipe components and the example lead routes keep in the visitor's browser and send to your server, the two unchecked consent boxes, notes for Canadian boards under CASL, and a privacy paragraph to edit for your site.

Your visitors' details go from your form to your own server and from there to your own CRM. This page
lists exactly what the recipe components and the example routes keep and send, so your privacy
notice can say so.

## What the components keep in the browser

- **Campaign ids for the visit.** When a visitor arrives with `utm_source`, `utm_medium`,
  `utm_campaign`, `utm_term`, `utm_content`, `gclid`, `fbclid` or `msclkid` in the address, the
  components keep them in the browser's session storage under `rw_campaign` until the tab closes, so
  a form on a later page of the same visit can send them with the lead.
- **The visit's first page.** The address of the first page of the visit and the outside page it
  came from, in session storage under `rw_landing` until the tab closes.
- **The first and latest visit from an ad or another site.** When a visit arrives with campaign ids
  or from another site, the components keep its campaign ids, its first page, the outside page and
  the time in the browser's local storage: `rw_first_touch` once, and `rw_last_touch` each time. These
  stay until the visitor clears their browser data, so a lead sent weeks later still says what first
  brought them. They hold no name, email or phone.
- **The Follow Up Boss person id after registration.** The example Follow Up Boss route sets an
  HttpOnly cookie named `fub_person` on your own domain, holding only that id and a signature your
  server checks, so listing views from a registered visitor can be added to their record. It lasts a year. Leave out the listing-view route
  if you do not want it.

## What the forms send to your server

A form sends one JSON request to your own route (`LeadSubmission`): the kind of form, first and last
name, email, phone, the visitor's message, the tour date and time they asked for, the listing's id,
MLS number and page URL, both consent boxes and the exact consent wording shown, the page URL and
referrer, the visit's campaign ids, its first page and outside referrer, the first and latest visit
kept in the browser, and the agent and lead type when the form names them. A hidden honeypot field
travels with it; your route drops any request that fills it.

## What your route sends to your CRM

Your route sends the visitor's name, email and phone, your site name as the source, the listing's
city, state, ZIP, MLS number and price (and the street when the listing shows its address), and the
AI Nurture tags only when the alerts box was checked. Each CRM also gets the request in plain words,
including the consent sentence the visitor agreed to, which keeps a record of consent with the lead,
and where the visitor came from (the campaign, ad click ids, first page, referrer, and first and latest
visit). The pages for
[Follow Up Boss](https://help.ruuster.com/idx/crm-follow-up-boss),
[Sierra Interactive](https://help.ruuster.com/idx/crm-sierra) and
[Sure Send](https://help.ruuster.com/idx/crm-sure-send) show every field.

## What analytics receive

The components push GA4 events to `window.dataLayer` on your page: the listings a visitor sees and
opens, and `generate_lead` when a form is sent. These events carry listing facts, the form's name and
the campaign ids. They never carry the visitor's name, email or phone. Your own Google Tag Manager
container decides where they go (see [Analytics](https://help.ruuster.com/idx/guide-analytics)).

## The two consent boxes

Both boxes start unchecked, and each has your own sentence beside it.

1. **Contact box (required).** The form's send button stays off until it is checked, and your route
   refuses a request without it. Example: "I agree that Peach Realty may contact me by phone, text or
   email about this request."
2. **Listing alerts box (optional).** Show it only when something sends those emails. The Listings
   API sends none in version 1. For a brokerage also on the Ruuster Platform with its CRM connected
   to Ruuster, checking it adds the AI Nurture tags, which start listing alerts. Leave
   `alertsConsentText` out and the forms show no box. Example: "Email me new listings like this one.
   I can unsubscribe at any time."

Have both sentences reviewed for your market. If your agents text leads, ask your counsel what your
contact sentence needs to say about calls and texts.

## Canadian boards and CASL

Canada's Anti-Spam Legislation (CASL) asks for express consent before commercial email or texts. For
a site that shows listings from a Canadian board:

- Keep the alerts box separate and unchecked, as the components do. A checked box set by default is
  not express consent.
- Say who is asking (your brokerage's name), what the visitor will receive, and that they can
  unsubscribe at any time.
- Keep a record of what the visitor agreed to and when. The example routes save the consent sentence
  with the lead in Follow Up Boss and Sierra Interactive, and your CRM keeps the date.
- Every alert email, from AI Nurture or from your own CRM, has to carry your brokerage's name,
  mailing address and an unsubscribe link.

## A privacy paragraph to edit

Paste this into your privacy notice and change the parts in brackets:

> When you send a form on this site, we receive the details you enter (your name, email, phone number
> and message), the home you asked about, the page you sent it from and, if you arrived from an ad,
> an email or another site, where you came from, including your first visit from this browser. We store them in our customer relationship system,
> [your CRM's name], to answer your request. [Keep the next sentence only if your forms show the
> listing alerts box.] If you check the listing alerts box, we also send you
> emails about new listings, and you can unsubscribe at any time from any of those emails. We use
> Google Analytics to see how visitors use this site; it sees how pages are used and never sees your name, email or phone
> number. To ask what we hold about you or to have it deleted, email [your privacy contact].
