SAP Knowledge Base Article - Public

2662252 - Google Tag Manager / Google Analytics in Recruiting

Symptom

Can Google Tag Manager / Google Analytics be used in SAP Success Factors Recruiting?
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • SAP SuccessFactors Recruiting Management
  • SAP SuccessFactors Recruiting Marketing

Resolution

Recruiting Marketing:

Note that since b1908, there is a "Google Tag Manager ID" field under CSB config/ Global / Settings / Site.

googleTagManager.JPG

(Be careful not to confuse it with the Google Analytics ID, it would not work)


With GTM, Customers have a web interface to configure the tags that they want to integrate into their website. A tracking code called container is given to integrate into their website, which they populate in the new CSB field. (note Google Tag Manager ID is the same thing as the Container ID. The ID starts with GTM- and then contains some letters/numbers)
Customers can configure tags directly from the web interface to publish them in the container instead of manually changing the site code. 
When a CSB admin configures its GTM container in CSB Settings it is applied in the code of its CSB website in the <head> and <body> tags of all pages.
The container triggers the tags according to the instructions specified in the GTM interface and passes the requested data to third-party solutions (associated with the tracking code such as When a user visits customer's website, the container triggers the tags according to the instructions specified in the GTM interface and passes the requested data to third-party solutions (associated with the tracking code such as Google Analytics, Criteo, AdRoll, Google Ads,...).The data is then available in GTM.

Note : This field only enables Google Tag Manager for your career site; it does not manage the tags or perform any analysis or reporting for you.

Recruiting Management:

Up to now Google Tag Manager and Google Analytics were not supported in SuccessFactors Recruiting Management. Once the candidate clicked on the “apply now” button and was re-directed from the RMK site to the RCM site, the script tracking was lost.
An enhancement has now been deployed to allow the code configured in CSB to persist in the wrapper from RMK to RCM. Note that this requires the RMK wrapper which means mobile apply must be enabled for the code to persist.

Important note on JavaScript: 
It is not recommended to inject custom javascript via the GTM container and any such addition will not be supported by our Support and Development teams as it does not follow the product recommendations for the JavaScript functionality implementation.
Especially discouraged is erasing html from RMK, such as removing classes from buttons or links. Also especially discouraged is using the jquery ajaxSetup method.

See Also

2859295 - Where can I set Google Analytics ID, Google Webmaster ID and Bing Webmaster ID in CSB - Recruiting Marketing

Keywords

GTM, Google, Analytics, Tag, Manager, CSB , KBA , LOD-SF-RMK-CSB , Career Site Builder , LOD-SF-RCM-POR , Career and Agency Portals , How To

Product

SAP SuccessFactors Recruiting all versions