This guide walks you through configuring Google Tag Manager (GTM) to send your career site's event data to a Google Analytics 4 (GA4) property — from setting up triggers and variables in GTM, to creating the tags that push data to GA4, to publishing your configuration.
This assumes you've already connected your career site to GTM and enabled your events, as covered in [Set Up Google Tag Manager for Your Career Site].
The events selected on your career site can be captured in GTM using the Custom Event trigger type.
Event | Event Name |
Job Listing | zr_job_list_view |
Job Detail | zr_job_detail_view |
Job Apply | zr_job_apply |
Job Apply Success | zr_job_apply_success |
To create a custom event trigger for one of these events:
- In Google Tag Manager, click Triggers from the left menu, then click New.
- Enter a name for the trigger (for example, Job Apply Success Trigger).
- Click Trigger Configuration and choose the Custom Event trigger type.
- Enter the Event Name from the table above for the event you want to track.
- To track all career site events at once, enter zr_* and enable Use regex matching so the field accepts a wildcard pattern.
- Click Save.
All Custom Events vs. Some Custom Events: If you set a trigger to fire on All Custom Events, its tags fire for every custom event on the page — not just career site events. To fire tags only for a specific event, choose Some Custom Events and set the condition to match that event's name (for example, event equals zr_job_apply_success).
Repeat these steps for each career site event you want to tracks
Step 2: Create Data Layer Variables
When a career site event fires, it sends a set of data to Google Tag Manager. To capture this data on the GTM side, you need to create matching Data Layer Variables. The data layer is a virtual layer that temporarily holds this event data as visitors interact with your career site.
You can create the following Data Layer Variables to capture career site event data:
Data Layer Variable | Description |
zr_category | Identifies that the data comes from Zoho Recruit. Always set to Zoho Recruit. |
zr_action | The action that took place on the career site (for example, Job Listing Viewed). |
zr_site_name | The name of the career site (for example, Careers). |
You can see the exact variables pushed for each event by clicking View Variables next to that event in your career site's Tracking & Analytics settings.

To create a Data Layer Variable in Google Tag Manager:
- In Google Tag Manager, click Variables from the left menu.
- Under User-Defined Variables, click New.
- Enter a name for the variable.
- Click Variable Configuration and select Data Layer Variable.
- Under Data Layer Variable Name, enter the variable name from the table above (for example, zr_action).
- Click Save.

Repeat these steps to create each Data Layer Variable you want to push to Google Tag Manager.
Step 3: Create a Google Tag
The Google Tag connects your GTM container to your GA4 property.
In your Google Analytics account, go to Admin > Data Streams.
Click the data stream you've created and copy the Measurement ID shown in the top-right corner.
In your Google Tag Manager container, click Tags from the left menu, then click New.
Enter a name for the tag (for example, Google Tag).
Click Tag Configuration and select Google Tag.
Under Tag ID, paste the Measurement ID you copied in step 2.
Under Triggering, select All Pages.
Click Save.
Step 4: Create a GA4 Event Tag
Create one GA4 Event Tag for each career site event you want to send to GA4.
- Click New to create another tag.
- Click Tag Configuration and select Google Analytics: GA4 Event.
- Enter the Measurement ID copied from Google Analytics.
- Enter an Event Name for this tag.
- Under Event Parameters, click Add Parameter, then select the Data Layer Variable you created (for example, zr_action) under Value, and give it a matching Parameter Name. Click Add Parameter again to add more.
- Under Triggering, select the Custom Event trigger you created for this event.
- Click Save.

You can create additional GA4 Event Tags to track more career site events.
Step 5: Preview and Publish
- Once you've configured and saved all your tags, click Preview in the top-right corner of Google Tag Manager to test your setup.
- Trigger the career site events you've configured and confirm in Preview mode that each event and its variables arrive as expected.
- Click Submit in the top-right corner to publish your changes.
Note:
Each time you update your Google Tag Manager configuration, hard-refresh your career site to pick up the changes.
You can check that data is flowing correctly by viewing real-time reports in Google Analytics under Reports > Realtime > Events.
Step 6: Debug Your Google Tag Manager Configuration
Use the following troubleshooting steps if your career site events are not appearing as expected in GTM or GA4.
If the event is not fired
- In GTM Preview mode, perform the action on your career site that should trigger the event.


- Check whether the corresponding custom event appears in Tag Assistant.
- If the event does not appear:

- Go to your career site's Tracking & Analytics settings and make sure the event is enabled.
- Check that the event name configured in your Custom Event trigger exactly matches the event name sent by the career site.
- If you're using a trigger to track all career site events, make sure you have entered zr_* and enabled Use regex matching.
- Make sure your career site's domain is connected successfully in the GTM Preview window. For example, the event name for the Job Apply Success event is: zr_job_apply_success
- If the event is visible but the tag is not fired
Once the event appears in Tag Assistant:
- Click the event.
- Check the Tags Fired and Tags Not Fired sections.
- If your GA4 Event tag appears under Tags Not Fired, click the tag to view its details.
- Check the Firing Triggers section.
- Verify that the trigger is configured with the correct event name. For example, if you want the tag to fire when a candidate successfully applies for a job, the Custom Event trigger should use: zr_job_apply_success
- If you use a single trigger for all career site events, verify that it uses: zr_*with Use regex matching enabled. If the event is fired but the expected data is missing
If the event is visible but the expected event data is not available:
- In Tag Assistant, select the event.
- Open the Data Layer section.
- Check whether the expected variables are present.
- Verify variables such as:
- zr_category
- zr_action
- zr_site_name
- Compare the values shown in the Data Layer with the Data Layer Variables configured in your GTM container.
- If a variable is missing or contains unexpected data, verify that the exact Data Layer Variable Name was entered when the variable was created.
- If the event is fired but the data in Google Analytics is different
If the event reaches Google Analytics but the data is different from what you expected:
- Open the GA4 Event tag in GTM.
- Check the Event Parameters.
- For each parameter that uses a Data Layer Variable, make sure the correct variable is selected as its value.
- Verify that the parameter name matches the parameter you want to send to GA4.
- Use GTM Preview mode again to confirm that the correct values are being passed to the tag.
If the event works in GTM but is not visible in Google Analytics
If the event is fired successfully in GTM Preview mode but does not appear in GA4:
- Verify that the Google Tag uses the correct GA4 Measurement ID.
- Verify that the GA4 Event tag uses the correct Measurement ID.
- Make sure the Google Tag is triggered on All Pages.
- Verify that the GA4 Event tag uses the correct Custom Event trigger.
- Check that the event name and event parameters are configured correctly.
- Make sure the Google Tag and GA4 Event tag have been saved.
- After making any changes, use GTM Preview mode again to test the configuration.
Step 7: Publish Your Configuration
Once you've confirmed that the events, triggers, tags, and Data Layer Variables work as expected:
- In Google Tag Manager, click Submit in the top-right corner.
- Review your changes.
- Enter a version name and description, if required.
- Click Publish.
Your GTM configuration is now published.
Note:
Each time you update your Google Tag Manager configuration, hard-refresh your career site to pick up the changes.
Step 8: Verify the Data in Google Analytics
After publishing your GTM configuration, verify that the event data is reaching your GA4 property. Open your Google Analytics 4 property.
Go to Reports > Realtime.
- Check the event activity for the events you configured.
- Verify that the event names and parameters contain the expected values.
- You can now use the event data in Google Analytics to understand how visitors interact with your career site