Skip to main content

How to set up Google Tag Manager/GA4 attribution from your website

Written by Alexander Stringfellow

Overview

RentEngine's embedded widget automatically pushes conversion events into your Google Tag Manager dataLayer, so you can track showings and application clicks in GA4 and Google Ads.

Showing outcome events reach GA4 by a different route, described under Showing Outcome Events below.


Requirements

Before getting started, make sure you have:

  • Google Tag Manager (GTM) installed on the page where the RentEngine widget iframe is embedded

  • A GA4 property configured and connected to that GTM container


What RentEngine Sends

RentEngine sends five conversion events. They reach GA4 by two different routes.

Booking events

Pushed automatically into your GTM dataLayer . No additional configuration is needed on the RentEngine side. These events are pushed automatically as soon as GTM is present on the page.

  • showing_scheduled — fires when a prospect books a showing

  • apply_now_click — fires when a prospect clicks to apply

Each event includes the following parameters:

  • unit_id — the RentEngine unit associated with the event

  • utm_source — the traffic source that brought the prospect in

Showing outcome events

Sent by RentEngine straight to your GA4 property, not through GTM. These are not automatic: they need the one-time setup in Step 4. Each includes unit_id

  • showing_completed — fires when a prospect completes a showing

  • showing_missed — fires when a prospect misses a showing

  • showing_failed — fires when a prospect fails to start a self-guided showing (issue with the lockbox)


Step 1: Configure GTM to Forward Events to GA4

In your GTM container, create a Custom Event Trigger for each event:

  • One trigger for showing_scheduled

  • One trigger for apply_now_click

Then create a GA4 Event Tag for each trigger that forwards the event to your GA4 property. Include unit_id and utm_source as event parameters in the tag if you want that data passed through.

Publish your GTM container once both tags are configured.


Step 2: Mark as Key Events and Import into Google Ads

In GA4, navigate to your events and mark both showing_scheduled and apply_now_click as key events.

If you're running Google Ads, import these key events as conversions in your Google Ads account so they're available for bidding and reporting.


Step 3 (Optional): Register Custom Dimensions

If you want to report on unit_id or utm_source in GA4, register them as custom dimensions under Admin > Custom definitions. This lets you break down your conversion data by unit or traffic source in GA4 reports.


Step 4: Set Up Outcome Events

This step is separate from Steps 1 to 3. You can do it whether or not you use Google Tag Manager, and it is the only setup needed for the outcome events to send.

  1. In RentEngine, go to Settings > Company and find the Google Analytics 4 card

  2. Enter your Measurement ID ( G-XXXXXXXXXX ) from GA4 Admin > Data streams > your web stream

  3. Create a Measurement Protocol API secret under GA4 Admin > Data streams > your stream > Measurement Protocol API secrets, and paste it into API Secret

  4. Save. The card shows Saved once both are stored

Both values are required. With only the Measurement ID the card shows Missing API secret, and outcome events will not send.

If you already use Google Tag Manager, nothing about your setup needs to change.

Your booking events keep arriving through GTM exactly as before.

As with the booking events, mark showing_completed , showing_missed and showing_failed as key events in GA4, and import them into Google Ads if you bid on them.

Did this answer your question?