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

De game opent automatisch wanneer een bezoeker de pagina bezoekt.

Promotiecampagnes Nieuwsbriefinschrijvingen Kortingsacties

Inline Game

De game wordt tussen de content van je pagina geladen.

Landingspagina's Blogartikelen Campagnepagina's

Popup via een knop

De game opent wanneer een bezoeker op een knop klikt.

Call-to-actions Productpagina's Actiebuttons

Exit Intent Game

De game verschijnt wanneer een bezoeker de pagina wil verlaten.

Last-chance aanbiedingen Kortingscodes Bounce rate verminderen

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

Klaar om marketing games te koppelen aan je Drupal website?

Sluit je aan bij het groeiende aantal organisaties dat Refybe gebruikt om betrokkenheid te vergroten en doelen te bereiken met Marketing Games.