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:
Fields for "Google Tag Manager ID" and "Google Analytics 4 ID" can be found in CSB under Settings > Site configuration > Site Information
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:
Note the code configured in CSB can 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.
The options 'Use Google Tag Manager in Career Site Wrapper' or 'Use Google Analytics in Career Site Wrapper' must also be selected.
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.
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
SAP Knowledge Base Article - Public