Built by owners, for owners.

Getting Started

The Basics

Setting Up Your Account

Signing In

Recommended Reading

Overview

Bookings & Quotes

Properties

Guests

Quotes

My Account

Messaging

Email Template Library

Door Locks

Property Management

Reviews

Listing Site Integration

Widgets

Hosted Websites

Technical Stuff

Insurance and Damage Protection

Data Management

QuickBooks Integration

Rates

Rules

Security Deposits

Taxes

Payments

Dynamic Pricing Integrations

OwnerRez API

Other Integrations

Channel Management

Channel Management

API Integrations

Calendar Import/Export

Channel Bridge

Page-Specific Help

Testing

Why Test?

Rate Testing

Calendar Testing

Change Log

2020

2019

Widgets - Cross-Domain Analytics

If you've entered your Google Analytics or Facebook Tracking Pixel in your account settings, widgets will be tracked in addition to other events like quotes and bookings.

You can find more details on connecting Google Analytics and what is tracked in our Tracking guest interactions through Google Analytics and Facebook Pixel article.

Here's how to enable cross-domain tracking for pages that embed your widgets.  This allows you to connect the Google Analytics tracker on your surrounding page with the widget's Google Analytics user, and attribute bookings to specific channels according to how they landed on the website (e.g. Paid Google Ads, organic search, social, direct traffic, etc.).

To do that, you have to configure Google Analytics to "decorate" the widget URLs to pass the user across to our domain. Here's how to do that: 

1) Before the OwnerRez widget.js <script> tag on your page, turn off the default widget loading using the following javascript:

window.OwnerRez = { skipLoadDefaultWidgets: true };

2) After Google Analytics is loaded on the page, call the OwnerRez.loadDefaultWidgets(tracker) function and pass in the Google Analytics tracker reference. If you're using the default tracking code, it will look something like this:

ga(function(tracker) {
  window.OwnerRez.loadDefaultWidgets(tracker);
});