> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.drimify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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](https://help.drimify.com/en/article/experiences-direct-sharing-link-and-html-embed-code-samples-for-tests-1tum5zq/?bust=1685722539271).

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

```html
<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](https://wordpress.org/plugins/drimify-widget/).

```
[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:

```html
<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): 

```html
<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/DPqbthd4/?l=1
```
