Skip to main content

Google Tag Manager - integrating with landing pages

This guide outlines how to add your own GTM container to your job ads.

Karl-Sander Erss avatar
Written by Karl-Sander Erss
Updated this week

When would you need this?

  • You are working with an external agency who is running your social media recruitment campaigns and they need to set up conversion tracking.

  • Your marketing team wants to get job ad/career site visits data into their analytics software (such as Google Analytics).

Setting up your GTM container

  1. Make sure you are logged in as an administrator account.

  2. Navigate to Organisation settings (cog icon in top-right)

  3. Open the Brand tab

  4. Put your GTM-XXXXXX ID into the Google Tag Manager container ID for landing pages field and save.

Tracking submissions

When an application form is submitted, the landing page receives an event. You should set up a listener on page load to catch submission events like this:

<script>
window.addEventListener('message', function (event) {
if (event.data.action === 'submission') {
dataLayer.push({
event: 'form_submission',
form_id: event.data.form_id,
form_title: event.data.form_title,
});
}
});
</script>

Then you can set up a Custom Event (form_submission) trigger and use it to fire tags.

Did this answer your question?