Web tracking

From Onlinehelp
Jump to navigation Jump to search

Web tracking allows for the collection and analysis of visitor behavior on the various Umantis default pages. Using an analytic tool, you can find out where visitors are coming from, which areas of a page are being visited, and how often and for how long various sub-pages and categories are being viewed.

The settings for web tracking can be found in Umantis under:

  • Applicant Management: Settings > Main settings > Settings for web tracking and web crawlers
  • Employee Management: Settings > Main settings > Settings for web tracking and web crawlers

Web tracking via Google Analytics

If you use a different configuration from the default described below or another analytic tool, please contact your Umantis representative or our Customer Service.

Administrators can enter a Google Analytics Tracking ID here. If you have stored your Google Analytics Tracking ID here and activated tracking for your selected URL ranges, umantis will automatically generate an associated tracking code snippet and integrate it into the header view of the pages you select. This lets you use Google Analytics to collect data about user activity on the Umantis pages of your choice.

Finding your Google Analytics Tracking ID

  • Log in to Google Analytics with your account
  • Click on “Admin”
  • Select an account from the menu in the “Account” column
  • Select a property from the menu in the “Property” column
  • Under “Property”, click Tracking Info > Tracking Code
  • Your tracking ID and property ID are displayed at the top of the page

(De)activation for URL ranges

  • To include a URL range, enter the initial portion of the URL, e.g.: /Jobs/All
  • If you enter “/” here, all pages will be included
  • If you want to exclude certain ranges, place a “-” before the URL, e.g. -/Jobs/All


Notes:

  • Umantis will integrate the tracking code snippet with your web tracking ID into the header area of the pages you select.
  • To include a URL range, enter the initial portion of the URL under which you would like to track user activity via Google Analytics. If you enter ‘/’ here, all pages will be included.
  • If you would like to exclude certain sections, you can place a minus sign (‘-’) before the URL. It is important to start with the URL ranges you want to exclude.
  • The URL ranges to be excluded must be more specific than the ones you want to include; otherwise, all URL ranges to be included would be covered by the more general scope that you want to exclude, thereby canceling out the attempt to include them.
  • If a URL includes IDs like /Jobs/1, please replace the specific ID with the neutral placeholder ‘ID’ (e.g. /Jobs/ID). Separate multiple URL ranges with a comma, but without spaces or line breaks.
  • Examples: '/SelfService,/Jobs,/Vacancies' or '-/SelfServiceBoard,-/SelfServiceLine,/SelfService'.

Anonymizing IP addresses

  • You have the option to anonymize your users’ IP addresses, and therefore all data stored via Google Analytics. This function allows you to comply with your company’s own privacy policy rules or those of the data protection authorities in certain countries, if those rules prohibit you from storing full IP addresses.
  • More detailed information on anonymizing IP addresses in Google Analytics can be found here.

Notes:

  • Note that you must start with the URL ranges you want to exclude, and that these ranges must be more specific than the ones you want to include; otherwise, all the URL ranges you want to include would actually be excluded as part of the more general URL range being excluded.
  • If a URL includes IDs like “/Jobs/1”, replace the specific ID (in this case the “1”) with the neutral wildcard “ID”, e.g.: “/Jobs/ID”. Separate the different URL ranges with a comma, but without spaces or line breaks.
  • Examples: URLs to include: '/SelfService,/Jobs,/Vacancies' or URLs to exclude: '-/SelfServiceBoard,-/SelfServiceLine,/SelfService'
  • Please note that until the new 2018 design is activated, it will still be possible to enter an individual tracking code snippet (as described below).
  • Until the new 2018 design is activated, it is possible for two conflicting snippets to be activated at the same time if the configuration is incorrect. Therefore, we recommend that you immediately switch to using web tracking solely through Google Analytics, as described above.

Tracking code snippet

In the Umantis settings (/Administration/WebTrackingSettings), you have the option to enter a piece of code known as a web tracking code snippet. The tracking code snippet is integrated in the header view of each Umantis default page. The code snippet allows for tracking of the pages that include it.

The tracking snippet should not be larger than 10 kB, as the header size is limited to a maximum of 16 kB.

Setting up the web tracking code

Example (Google Analytics)

Note:

Once you have set up a Google Analytics account, you can automatically generate the necessary tracking code snippet. The tracking code snippet is then stored in Umantis. Once web tracking is activated in your Umantis solution, the pages that use the snippet are “tracked” (i.e. monitored).

Step 1: First, search for the tracking code snippet for your property. Sign into Google Analytics and click on “Administrative Tools”. In the Account and Property columns, select the property that you are currently editing. Click on Tracking information / Tracking code.

Step 2: A field will open with a few lines of JavaScript. This is your tracking code snippet. It starts with <script> and ends with </script>. The tracking code contains a unique ID that belongs to each Google Analytics property. Do not mix up tracking code snippets for different properties, and do not use this tracking code snippet again for multiple domains.

Step 3: Copy the snippet. (Tip: To be safe, you can paste a copy of the snippet into a text editor before proceeding.)

Step 4: Insert your (completely unchanged) snippet into the appropriate view of Umantis.

Step 5: Check your configuration. Make sure that the tracking snippet installed on your website matches the code displayed.


Note: An invalid tracking code snippet can cause the solution to malfunction.

Example:

The following tracking code snippet shows an example of web tracking using Google Analytics:

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

Note: Reference URL: https://developers.google.com/analytics/devguides/collection/analyticsjs

Example (Umantis default page):

The snippet generated by Google Analytics (see above) is inserted at the appropriate place in Umantis. Next, check the box for “Activate web tracking”.

Possible analytics options

  • Where did the visitor come from on their way to the job board?
    • Web tracking must be used on the job board
    • Analytics are performed by analyzing the “referrer”
  • Where did the visitor come from on their way to the application form?
    • Web tracking must be used on the job board
    • Analytics are performed by analyzing the “referrer”

Restrict web tracking to external sites

Using the option to Integrate tracking code snippet in external sites only, you can restrict web tracking to external sites only. In this case, the tracking code snippet is integrated only into the header view of the external default pages in Umantis.

External pages

The following pages, among others, are considered as external pages:

  • Applicant view (public view)
    • Job boards (internal & external) (/Jobs/... and /VacanciesIntraxData/...)
    • Job postings and application forms
    • Applicant cockpit (/SelfService/...)
    • ...
  • Manager view (/SelfServiceLine/...)
  • Committees view (/SelfServiceBoard/...)
  • Recruiter view (/SelfServiceRecruiter/...)
  • Third parties view (/SelfServiceAppraisal/...)

Internal pages

The internal pages are then defined by the view that is provided for the HR expert.

Note:

Tracking internal pages can be useful if, for example, you wish to analyze the user behavior of internal users — e.g. to optimize the system using the analytics and information gained.

Exclusions for web crawlers

You can use the robots.txt file to ensure that certain pages in your Umantis solution cannot be found by so-called web robots (also known as web crawlers). The robots.txt file is a text file in an easily readable format. Each line consists of two fields separated by a colon. The first line describes the web robot (here: User-agent) that is targeted by the rules in the rest of the file. Each excluded URL has its own line with the disallow command (here: Disallow). Empty lines are only allowed above user-agent lines.

  • For example, if you specify User-agent: *, then the restriction will apply to all web robots. Below that, you could then choose to disallow /Public/Courses if you do not want web robots to find publicly advertised events (Umantis Employee Management):
User-agent: *
Disallow: /Public/Courses

In order to target only certain specific web robots, enter the name of the corresponding user-agent:

User-agent: googlebot
Disallow: /Public/Courses

To verify which pages are now unfindable for which web robots, you can call the URL extension (https://CUSTOMER.umantis.com)/robots.txt in a browser. You should then be able to see the information entered in the robots.txt view of your Umantis solution, i.e. user-agent and disallow page.
Entering “Disallow: /” would block web robots for the entire solution.


Example for web robot restriction for the internal job board (Umantis Applicant Management)

Related topics

Was this information helpful?

Send us your feedback and tell us how we can improve our Online Help: Send email.

Thank you very much for your support.