Tracking activity on cases (using script)

If you’ve been issued with a website applicationId by C&B Systemer you’re able to incorporate a tracking script into your websites body section.

If you want to incorporate a script and you haven’t yet been issued with a customer specific website applicationId, please feel free to reach out through Developer Forum in your designated Partner Specific category.

The tracking script enables RealEquity business application users to track visiting stats on individual cases through “Mægleruniverset”.

The script should be placed in the site html just before the end </body> tag:

    <div data-tracking-case-id="{caseId}">
      Tracking Script
    </div>
    <script src="https://api.prod.realequity.dk/api/tracking-script?id={applicationId}"></script>
  1. Replace {applicationId} with the applicationId issued to you by C&B Systemer

  2. Replace {caseId} with the RealEquity id of the case currently visited. This means that The {caseId} should be rendered dynamically per page.

:red_exclamation_mark:It’s important that the script is loaded at the end of the body to run after the html is ready.
This ensures that the page is fully loaded before the script is executed.

Tracked activities will be shown in the business application in the “Aktivitet” → “Statistik” section of the case matching the supplied caseId. Referrers and used devices are specified.