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
Download and install our plugin: WP Shortcode by Drimify.
Make sure to load the iframe script tag:
Then embed the AMP code to your page (make sure that the variable amp=true is used in your call):
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
https://apps.drimify.com/XBs15jKF/
"HTML iframe embed code" test sample
<div id="gamification-widget"></div>
<script src='https://cdn-apps.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/',
fixed: false,
height: ['auto'],
sharingurl: 'https://apps.drimify.com/XBs15jKF/',
width: '100%',
});
widget.load();
});
</script>
Wordpress integration shortcode test sample
Download and install our plugin: WP Shortcode by Drimify.
[drimify app_url="https://demo.subdomain.white-label.com/XBs15jKF/" app_widget="https://cdn-apps.subdomain.white-label.com/prod/widget/index.js" version="2"]
AMP integration code test sample
Make sure to load the iframe script tag:
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></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="https://apps.drimify.com/XBs15jKF/?amp=1">
<amp-img layout="fill" src="https://cdn-apps.drimify.com/prod/shared/images/banner-transparent.svg" placeholder></amp-img>
<div overflow tabindex="0" role="button" aria-label="App"></div>
</amp-iframe>
Leaderboard "Direct link" test sample
https://apps.drimify.com/XBs15jKF/?l=1
Updated on: 14/11/2023
Thank you!