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

Custom Unique ID

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

The Custom Unique ID variable has to be inserted in the app URL.

The Custom Unique ID will then be used as SessionID in the data collection.

For direct link



Test sample code valid for all games (except the Basketball and Football games). The Custom Unique ID is inserted at the end via &custom_drimid=XXX where XXX can be replaced with your own variable.

https://go.drimify.com/slotmachine/15/app.html?projectid=1881505005bbf7b03b90ee773577123-5bbf7b03b9148&lang=en&custom_drimid=XXX


The Basketball and Football games require a different Custom Unique ID approach

Test sample code valid for the Basketball and Football games. The Custom Unique ID is inserted at the end via ?session_uid= where XXX can be replaced with your own variable.

https://app.drimify.com/4eWdmnm0/?session_uid=XXX


For HTML integration code



Test sample code valid for all games (except the Basketball and Football games). The Custom Unique ID is inserted via &custom_drimid=XXX where XXX can be replaced with your own variable.

<div id="drimify-container" style="line-height:0"></div>
<script src="https://cdn.drimify.com/js/drimifywidget.release.min.js"></script>
<script>
window.addEventListener("load", function() {
var drimifyWidget = new Drimify.Widget({autofocus: true, height: "600px", element: "drimify-container", engine: "https://go.drimify.com/slotmachine/15/app.html?projectid=1881505005bbf7b03b90ee773577123-5bbf7b03b9148&lang=en&custom_drimid=XXX", style: "border:0px solid #d1d1d1;" });           
drimifyWidget.load();
});
</script>


The Basketball and Football games require a different Custom Unique ID approach

Test sample code valid for the Basketball and Football games. The Custom Unique ID is inserted at the end via ?session_uid= where XXX can be replaced with your own variable.

<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://app.drimify.com/4eWdmnm0/?session_uid=XXX',
    fixed: false,
    height: 'auto',
    sharingurl: 'https://app.drimify.com/4eWdmnm0/',
    width: '100%',
    });
    widget.load();
});
</script>


Dynamic Path™ frameset integration code test sample



Test sample code. The Custom Unique ID is inserted via &custom_drimid=XXX where XXX can be replaced with your own variable.

<!doctype html>
<html>
<head>
<title>Title</title>
</head>
<style>html,body{margin:0;padding:0;width:auto;height:100%;color:white;background:white;}</style>
    <frameset cols="100%">
    <frame src="https://go.drimify.com/map/15/app.html?projectid=7777219675c6528adeed2f356599907-5c6528adeed76&lang=en&custom_drimid=XXX">
  </frameset>
</html>

Updated on: 09/09/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!