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

Games: Direct sharing link and HTML embed code samples for tests

You will find an example of a share link or integration code for our Gamification Experiences here: Sharing links and embed codes for our experiences.

Here is an example of a share link or integration code to test a particular technical integration that apply for our:

Classic games
Sports games
Instant Win Games
Question & Answer Games

"Direct link" test sample

"HTML iframe embed code" test sample

<div id="gamification-widget"></div>
<script src='' type='text/javascript'></script>
    window.addEventListener('load', function () {
        var widget = DigitaService.Widget.Create({
            autoscroll: true,
            element: 'gamification-widget',
            engine: '',
            fixed: false,
            height: ['auto'],
            sharingurl: '',
            width: '100%',

Wordpress integration shortcode test sample

Download and install our plugin: WP Shortcode by Drimify.

[drimify app_url="" app_widget="" version="2"]

AMP integration code test sample

Make sure to load the iframe script tag:

<script async custom-element="amp-iframe" src=""></script>

Then embed the AMP code to your page (make sure that the variable amp=true is used in your call):

<amp-iframe width="800" height="600" layout="responsive" sandbox="allow-scripts allow-same-origin allow-popups" resizable src="">
  <amp-img layout="fill" src="" placeholder></amp-img>
  <div overflow tabindex="0" role="button" aria-label="App"></div>

Leaderboard "Direct link" test sample

Updated on: 14/11/2023

Was this article helpful?

Share your feedback


Thank you!