Drupal

Add marketing games to your Drupal website in minutes.

Adding interactive marketing games to your Drupal website

Drupal is a highly capable CMS trusted by enterprises and governments worldwide — but its flexibility comes with a steep learning curve. Adding interactive marketing experiences typically means installing and configuring modules, modifying Twig templates, or asking a Drupal developer to make changes. For marketing teams, every campaign becomes a ticket in a developer's backlog.

Refybe + Drupal

Refybe works with Drupal without any custom modules or Twig development. Paste one embed script into a custom block, your base theme, or a script manager module — and your marketing game is live on any page, fully controlled by your marketing team.

You can display a game on your Drupal site as:

Auto Popup

Le jeu s'ouvre automatiquement lorsqu'un visiteur arrive sur la page.

Campagnes promotionnelles Inscriptions newsletter Offres de réduction

Jeu Inline

Le jeu est chargé directement au sein du contenu de votre page.

Landing pages Articles de blog Pages de campagne

Popup via un bouton

Le jeu s'ouvre lorsqu'un visiteur clique sur un bouton.

Call-to-actions Pages produits Boutons d'action

Exit Intent Game

Le jeu apparaît lorsqu'un visiteur s'apprête à quitter la page.

Offres de dernière chance Codes promo Réduire le taux de rebond

How do you add Refybe to Drupal?

Adding Refybe to your Drupal site usually takes less than 10 minutes.

1

Create a game in Refybe

1
Log in to Refybe
2
Create a new marketing game
3
Configure your game design, pages and form
4
Publish the game

After publishing, you will receive an embed script to place on your Drupal site.

2

Add the Script to Drupal

  1. 1 Go to Drupal Admin → Structure → Block Layout
  2. 2 Click "Add custom block"
  3. 3 Switch the text format to "Full HTML" or "Raw HTML"
  4. 4 Paste the Refybe script
  5. 5 Assign the block to a region and choose which pages it appears on
  6. 6 Save and clear the cache

Best for targeting specific pages or regions without modifying your theme.

  1. 1 Open your active theme folder in a code editor
  2. 2 Locate or copy html.html.twig from Drupal core into your theme's templates/ folder
  3. 3 Paste the Refybe script just before the closing </body> tag
  4. 4 Clear the Drupal cache

Recommended for sitewide games such as exit intent or auto popup campaigns.

  1. 1 Install the Script Manager module (available on drupal.org)
  2. 2 Go to Admin → Configuration → Script Manager
  3. 3 Add a new script and paste the Refybe embed code
  4. 4 Configure visibility rules (sitewide or specific pages)
  5. 5 Save and clear the cache
Drupal

Why Drupal teams use Refybe

Refybe is built for marketing teams who want to launch interactive campaigns on Drupal without raising a development ticket for every campaign.

No custom modules or Twig development required
Works with any Drupal theme
Compatible with Drupal 9, 10 & 11
Quick to implement — no complex configuration
Fully customizable games
Built-in lead capture & email sign-up forms

Prêt à connecter des marketing games à votre site Drupal ?

Rejoignez le nombre croissant d'organisations qui utilisent Refybe pour accroître l'engagement et atteindre leurs objectifs avec les Marketing Games.