Google Analytics custom events
Rent Fetch provides a range of custom events that automatically can be added to your Google Analytics setup. At this moment, most of those events are triggered on either the single floor plans or single properties template (basically, whenever the user clicks on anything that is clickable when viewing either an individual property or an individual floor plan).
Overview
Rent Fetch tracks user click events on property and floorplan detail pages when analytics is enabled. Events are sent to Google Analytics 4 (GA4) using gtag if present, or pushed to dataLayer if not.
Tracking is driven by HTML data attributes (data-rentfetch-event) and a few built‑in selectors (e.g., specials links). When a tracked element is clicked, Rent Fetch captures contextual property/floorplan details and the destination link (if available).
Installation
You don’t need to do anything special to add this integration to your site (you do, of course, need to have Google Analytics installed on your site). Whether you’re using the Google Site Kit plugin (recommended) to install Analytics or using Google Tag Manager, Rent Fetch automatically detects your installation and integrates itself. There’s nothing to configure.
Our analytics integration is enabled by default, but if you’d like to disable, or to test your integration more thoroughly, you can see settings for this in Rent Fetch > Settings > General (at yoursite.com/wp-admin/admin.php?page=rentfetch-options).
Then, simply login to Google Analytics and you’ll be able to see the “rent fetch” events in your reporting.

Analytics debug
When “enable analytics debug overlay on click” is enabled (see screenshot above), administrators will see something like this on the frontend of the site on the bottom right of the screen:

Using our debugger
Clicking around to the various elements, especially the ones that go off-site, will show the sort of information that’s being sent to Analytics as you click. This enables for easy debugging of Analytics to know what sort of information is being sent.
Third-party tools
We would highly recommend using our debugger alongside the built-in analytics functionality for debugging to see custom events flowing through within analytics as real-time events OR the Google Analytics Debugger add-on for Chrome to see responses from Google Analytics in your console on your website:

Event payload (properties)
Each event can include the following fields when available in the markup:
property_id– Internal property IDproperty_name– Property title/nameproperty_city– Property cityfloorplan_id– Internal floorplan IDfloorplan_name– Floorplan title/namelink_url– The clicked element’shrefvalue
Info
These fields are populated from the nearest parent elements that include the corresponding data-rentfetch-* attributes.
Event catalog by location
Property URLs (single-properties.php template)
rentfetch_directions_click— “Get Directions” link (opens Google Maps).rentfetch_phonecall_click— Phone number link (tel:).rentfetch_visitpropertywebsite_click— “Visit Website” link (external site).rentfetch_emailus_click— “Email Us” link (mailto:).rentfetch_tour_click— “Video Tour” link (YouTube, Matterport, or other tour link).rentfetch_scheduletour_click— “Book Tour” link (tour‑booking URL).rentfetch_officehours_click— “Office Hours” summary (expands the hours panel).rentfetch_special_view— Any link inside.specialson a single property URL.
Floorplan URLs (single-floorplans.php template)
rentfetch_applynow_click— Availability button (“Apply/Availability” link).rentfetch_unavailability_click— Unavailability button (shown when no units are available).rentfetch_contact_click— “Contact” button.rentfetch_scheduletour_click— “Tour” button (floorplan CTA).
Unit listings (single-flooorplans.php template)
rentfetch_applyonline_click— “Apply Online” button (unit‑level apply link).