Skip to main content

Tracking Codes: Google Analytics, Google Ads, and Facebook/Meta Pixel in the eRecruiter System

A new way to better and more accurately analyse candidate traffic on your job postings and application forms.

Written by Klaudia
Updated today

As a modern system for managing HR processes, eRecruiter enables the use of solutions that support analysing candidate traffic on job postings and application forms.

What Are Google Analytics, Google Ads, and Facebook/Meta Pixel Tracking Codes?

Tracking codes are analytical tools that allow you to examine user traffic on a selected website in a more precise and detailed way.

Where Can Tracking Codes Be Added in the eRecruiter System?

Depending on the version of the application forms you are using, the solutions mentioned above can be added in different ways.
This article describes the methods available for the new system forms, where the tracking code is automatically activated on the thank‑you page once a candidate submits the form.

You will also find instructions for legacy forms and job postings.

Preparing the Tracking Code

Start by obtaining the tracking code you want to add to the eRecruiter system.

For security reasons, it is possible to add only three types of tracking codes: Google Analytics, Google Ads, and Facebook/Meta Pixel.
Below are examples of these codes:

  • Google Analytics

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
</script>
  • Google Ads

<!-- Global site tag (gtag.js) - Google Ads: XXXXXXXXXXX/Y-->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'AW-XXXXXXXXXXX');
</script>
  • Facebook/Meta Pixel

    <!-- Facebook Pixel Code --> 
    <script>
    !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', 'XXXXXXXXXXXX'); fbq('track', 'PageView'); </script> <noscript> <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id={your-pixel-id-goes-here}&ev=PageView&noscript=1"/>
    </noscript>
    <!-- End Facebook Pixel Code -->

    📌 By default, the Pixel sends two events: PageView and ViewContent.

    ⛔️ It is not possible to add an Event Code within the Facebook/Meta Pixel.

How to Add Tracking Codes - New Forms

The instructions below apply to forms using the system template. If your forms use a custom graphic template prepared specifically for your company, please contact your eRecruiter Account Manager regarding tracking codes.

To add a tracking code to a new form, you don't need the entire tracking script - only its specific part (the Tracking ID), which will look as follows depending on the application:

  • Google Analytics: G-XXXXXXXXXX

  • Google Ads: AW-XXXXXXXXXX/Y

  • Facebook Pixel: 123456789
    (this is the numeric string found in the code, after the expression fbq('init', ...))

Adding Codes in the Settings

Tracking codes in the system settings can only be added by a user with the Administrator role. However, activating a code already added to the system can be done by any user with a role that allows creating recruitment projects.
You can read more about roles here.

Once you have the ID of your tracking code, go to the system Settings and open the Form section. Then navigate to the Tracking Codes tab:

Click the “Add code” button.

In the new window:

  1. Select the code type (Google Analytics / Google Ads / Facebook Pixel)

  2. Paste the previously prepared Tracking ID

    • Google Analytics: G-XXXXXXXXXX

    • Google Ads: AW-XXXXXXXXXX/Y

    • Facebook Pixel: 123456789

  3. Assign a name to the code

When a user adds a code to a form, they will see a list of all codes added in the system settings. For this reason, it is essential to give each code a clear and identifiable name so users can easily select the correct one.

You can add an unlimited number of tracking codes. However, each code must have a unique Tracking ID and a unique name - this means that neither the name nor the ID can be duplicated (even across different code types).

After adding a code, it becomes visible on the list in the system Settings.
The Administrator can edit or delete added codes (using the pencil and trash bin icons).
The codes on the list are sorted by the date and time of their last modification.

IMPORTANT! If a code is deleted in the Settings by an Administrator, data collection for that code will stop.
However, all data collected before the code was removed will remain saved.
Deleting a code also means it will be removed from all forms to which it was previously added.

Selecting a Tracking Code in the Form

Once the Administrator adds a tracking code in the system Settings, it becomes visible to all users who edit recruitment projects. The added codes can be found in the recruitment project under the “Candidate Form” tab, in the “Tracking Codes” section. Tracking codes must be added separately for each recruitment project in which they are intended to be used.

To select a tracking code, mark it on the list. You can choose more than one code.
To remove a code from a specific recruitment project, simply uncheck it.

If no tracking codes have been added yet in the system Settings, the “Tracking Codes” section will display the following message, and the selection option will be inactive:

Important Information

  • The tracking code is always added to the Thank You Page displayed after the candidate submits the application.

  • Tracking codes are not copied when duplicating a recruitment project — they must be selected manually each time a new project is created.

  • If you want tracking codes to also be active on the job posting itself, please contact your eRecruiter Account Manager.


How to Add Tracking Codes - Legacy Forms and Job Postings

Tracking codes can be added on two screens:

  1. The Thank You Page (legacy system form)

  2. The Job Posting Page – in the case of postings using a graphic layout

    Important: This excludes templates created using the Career Page Builder and Career Page PRO.

How to Add Tracking Codes to Job Postings and the Thank You Page (Legacy Form)

Prepare an Excel file with two columns:

  • In the first column, enter the links to the application forms or the name of the job posting template, if you want the tracking codes to be added to the job posting page.

  • In the second column, enter the tracking codes (see Preparing the Tracking Code section).

After preparing the file, send this information to your eRecruiter Account Manager.

If you are not sure who your Account Manager is, contact us via chat — you’ll find it in the bottom-right corner of the system 😊

Did this answer your question?