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.


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 Automatically

The RentEngine widget automatically emits two events and pushes them into your GTM dataLayer:

  • 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

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


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.

Did this answer your question?