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

Il gioco si apre automaticamente quando un visitatore accede alla pagina.

Campagne promozionali Iscrizioni newsletter Azioni di sconto

Gioco Inline

Il gioco viene caricato all'interno del contenuto della tua pagina.

Landing page Articoli del blog Pagine di campagna

Popup tramite pulsante

Il gioco si apre quando un visitatore clicca su un pulsante.

Call-to-action Pagine prodotto Pulsanti di azione

Exit Intent Game

Il gioco appare quando un visitatore sta per lasciare la pagina.

Offerte last-minute Codici sconto Ridurre il bounce rate

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

Pronto a collegare i marketing games al tuo sito Drupal?

Unisciti al numero crescente di organizzazioni che utilizzano Refybe per aumentare il coinvolgimento e raggiungere i propri obiettivi con i Marketing Games.