Articles on: Developers & API
This article is also available in:

Session Unique ID

You can pass a Session Unique ID to each Drimify app in order to skip any registration process and keep track of the user session and collected data.

The Session Unique ID variable has to be inserted in the app URL.
The Session Unique ID will then be used as SessionID in the data collection.

For direct link



Test sample code:

https://apps.drimify.com/XBs15jKF/?session_uid=XXX


For HTML integration code



Test sample code:

<div id="gamification-widget"></div>
<script src="https://cdn-app.drimify.com/prod/widget/index.js" type="text/javascript"></script>
<script>
       window.addEventListener('load', function () {
           var widget = DigitaService.Widget.Create({
               autoscroll: true,
               element: 'gamification-widget',
               engine: 'https://apps.drimify.com/XBs15jKF/?session_uid=XXX',
               fixed: false,
               height: ['auto'],
               sharingurl: 'https://apps.drimify.com/XBs15jKF/',
               width: '100%',
           });
           widget.load();
       });
   </script>

Updated on: 02/06/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!