Google Analytics for Candidate Gateway

Candidate gateway which is also referred as ‘Careers’ site in recruiting solution module of PeopleSoft HCM application is commonly open to public internet. This site hosts job advertisements and is a portal for applicants to access and apply for jobs.

Traditionally for enterprise applications for in house employees the demography of the user base is readily available like, common browsers, peak usage time etc. However as candidate gateway site is open to public internet with a global user base, this information is often unavailable.

Services like ‘Google Analytics’ helps to track and report this information (usually free for basic information). Sample tracking data,


Analytics data on candidate gateway could help in understanding,

  • User behavior on the job site – jobs most viewed, average time on page etc.
  • User demography – By region, operating system, browsers, version etc.

Such information come in handy for the organization in activities like scheduling outages, focus on relevant  browsers for compatibility testing etc. Or just plainly getting to know more about your audience.

Enabling Google Analytics for Candidate Gateway

Google Analytics is easy to configure and use. For more information click here

Once signed up with google for this service there are multiple ways to enable tracking  and easiest of them to add the javascript code they provide to the target website.

Tracking code ‘analytics.js’ from google,

<!-- Google Analytics -->

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
ga('create', 'UA-XXXXX-Y', 'auto');
ga('send', 'pageview');

<!-- End Google Analytics -->
Note: String 'UA-XXXXX-Y' should be replaced with the unique tracking id specific to customer site. Code should be added before the closing "</head>" section.

An option to add this code to candidate gateway sit,

  • Portal registry definition for ‘Careers’ link – HC_HRS_CE_GBL2, is delivered with default portal template ‘DEFAULT_TEMPLATE’, which in turn uses a HTML file – PT_HNAV_TEMPLATE
  • A common way to apply custom branding to candidate gateway site is to update the portal registry above to use a custom template and a HTML file.

If candidate gateway branding has been customized either using the option above or any other means, then the underlying HTML file can be updated to include the javascript from google.