← Back to app

Connect your website

Add your domains and the tracking script. Then the visits, clicks and events of people you know show on their contact and can start automations.

Workspace settingA brand administrator can manage this in Settings → Features. It is not a separate paid add-on.

Open Sites. If your workspace does not have Sites, open Settings → Integrations. Under Your website, select Settings on the Website row. It has the same tabs: Websites, Tracking and Installation. Each member can add their own website there. To change the tracking settings, you need permission to configure the CRM.

Only Berchtold can turn on Sites for a workspace. Sites adds websites built and hosted in Berchtold, landing pages and home search. To add it, contact Berchtold.

Add your website

Select Add your website. Enter its address, then select Add website. Berchtold adds its domain for you. With Sites, first choose the Website type. Choose Tracking-Only for a website you have, or Hosted by Berchtold for a new one. For a new one, pick its free address and select Build website. The builder opens.

Until the website is set up, its card shows Finish setup. First add a domain to track and add the tracking script. Then connect Google Analytics and Search Console. The script step is done when Berchtold sees the first page view. Show the script opens the Installation tab.

A member sees only their own website. A workspace admin sees every website and its owner. An admin can also select Add a website to add one for the workspace.

Add your domains

Each website has its own domains, up to 10. A domain includes its subdomains, such as www. Select the button with your website's domain, such as Track yourwebsite.com. Or type another domain and select Track domain. It saves at once.

Berchtold keeps page visits only from these domains. When someone clicks a link in your email to one of these domains, Berchtold also knows who clicked.

Each domain shows when it last sent a page view, a click and an event. If a domain shows "No page views yet", check that the script is on that website.

Choose Google Analytics and Search Console

Each website reads Analytics and Search Console through one person's own Google account. The website says whose account it uses. To use your own account, select Use my Google account. Choose the property or site, then select Save.

First turn on Analytics or Search Console for your Google account. Do this in Settings → Integrations, under Your connections.

Delete a website

Select Delete on the website. Berchtold first shows what goes: its content audit pages, its Technical SEO audit and its tracking. Its locations stay. You can't undo a delete.

Add the tracking script

Copy the script from the Tracking script section. Put it on every page of your website, in the page head or just before the end of the body. The script needs no key.

If your website uses Google Tag Manager, you can add the script there. You do not need to change your website:

  1. Make a new tag. Select Custom HTML.
  2. Paste the script.
  3. For the trigger, select All Pages.
  4. Save the tag. Then select Submit to publish it.

On WordPress, the Berchtold Abilities plugin can add the script for you:

  1. In WordPress, open Berchtold Abilities, then Tracking and forms.
  2. Paste the script into Berchtold workspace.
  3. Turn on Add the tracking script to every page, then select Save tracking and forms.

If your theme or Google Tag Manager also adds the script, each page still counts once.

The script gives each browser a random visitor number. It keeps the number in a cookie on your website.

Choose what the script records

In the Tracking section, each change saves at once. It reaches your website within 5 minutes, with no change to your website.

  • Track page visits. Turn it off to stop all website tracking. The script then sends nothing.
  • Track clicks. Clicks on links and on buttons that you mark. See Clicks.
  • Wait for each visitor's consent. The script keeps and sends nothing until your website calls berchtold.consent(true), for example from your cookie banner. berchtold.consent(false) stops tracking and removes the visitor number.
  • Analytics events. Your website may already send events to its analytics, for example generate_lead. Add their names here, spelled exactly as your analytics sends them. See Events.

How a visitor becomes known

A visitor is known after one of these:

  • They send one of your forms. A Berchtold form works on any of your domains: as a link, an embed or plain HTML. A pop-up or bar from Sites → Landing pages can show it too. The script tells the form who the visitor is. You need no key.
  • They click a link in your email that goes to one of your domains.
  • They sign up or sign in on a website that Berchtold hosts. Asking about a home or a home value there counts too.
  • They book a meeting in a Calendly embed on one of your pages.
  • Your website's server sends an event with their visitor number. See Server events.

Then each page they visit shows on their contact's timeline. A visit can start an automation with the trigger A known visitor views a page.

Before Berchtold knows a visitor, it keeps their page views, clicks and events for 13 months. When the visitor becomes known, all of it goes on their contact, at the times it happened, marked Before sign-up. This earlier activity does not start automations.

See a contact's journey

Open a contact, then select the Journey tab. It shows the last 13 months:

  • When they first visited, where they came from, and when they became known.
  • A chart of their visits, email clicks, forms and saves. It marks milestones, such as a new status, a new role or a new deal.
  • Their latest events, for example a saved home, a home search or a form.
  • Each visit, with the pages they viewed.

On the contact's activity timeline, each visit shows as one line. Select Open in Journey to see it in the Journey tab.

Websites that Berchtold hosts track their visitors with no setup, when site tracking is on.

Clicks

The script also records a known visitor's clicks. Each click shows on their contact's timeline. Use the Clicks filter on the timeline to see them.

  • A click on a link records the link's address. A click on a phone or email link records the number or address.
  • To record a click on a button, add data-berchtold-event with a name, for example <button data-berchtold-event="schedule_showing">.
  • If your website already sends click events to its analytics, Berchtold uses them. An event whose name ends in _click, such as cta_click, names the click. Its label (cta_label, link_text, label or button_text) shows on the timeline, for example "Clicked “Get my home value”".
  • To stop recording clicks on part of a page, add data-berchtold-ignore to it.

A click can start an automation with the trigger A known visitor clicks. Berchtold keeps no clicks from visitors it doesn't know yet. The same click twice within one minute counts once.

Events

An event is something a visitor did, for example asked for a showing or saved a home. Your website can send events in two ways. Neither needs a key:

  • From your analytics. Add the event's name under Analytics events. When your website sends that event to Google Tag Manager or Google Analytics, the script sends it to Berchtold too.
  • From a page. After the script loads, call berchtold.track("schedule_showing", { listing: "123 Main St" }).

Berchtold keeps only simple values: text, numbers and yes/no. It doesn't keep values named email, phone, name or the like.

An event from a known visitor shows on their timeline. It can start an automation with the trigger The website records an event. Berchtold keeps no events from visitors it doesn't know yet.

Server events

This part is for developers. Most websites do not need it. You need a server key only when your website's own server sends forms or events to Berchtold. For example, a headless website, or a WordPress form plugin that sends its forms to Berchtold.

Open Sites, then Installation. Server events is at the end. You must be a workspace admin, and the workspace needs the CRM.

  1. Select Make a server key.
  2. Copy the key. Berchtold shows it only once.
  3. Put it in your website server's secret settings, for example an environment variable or wp-config.php on WordPress.

The same key also gets page summaries. Make one key for each website. Keep the key on the server. Don't put it in a web page. A server key doesn't work from a browser.

To change a key without a break, first make a new key and put it on your server. Then revoke the old key. If a key gets out, revoke it at once.

A chat key is different. It goes in your web page for the chat widget, and it works only for chat.

A server event names the person by their email address:

  • Berchtold records the event only for a contact you already have.
  • Give each event its own id. Berchtold records each id once.
  • Add up to 30 values in data, such as the listing address.
  • Add visitor, the visitor number from window.berchtold.visitor in the person's browser. Then that browser's visits go on their contact.

Privacy

The script does not run when the browser asks sites not to track it. Then a website that Berchtold hosts sends no visitor number with its forms. To turn it off on a page, set window.berchtoldTracking = false before the script loads. To ask each visitor first, turn on Wait for each visitor's consent.

Berchtold removes everything after ? or # in a page's address. It keeps only the listing number on an iHomefinder property page. That keeps the property link useful. Other values, such as email addresses and tracking codes, are removed. The script doesn't read form fields or page text. Berchtold doesn't keep IP addresses.