Lovable

Add marketing games to your Lovable app in minutes.

Adding interactive marketing games to your Lovable app

Lovable makes it incredibly fast to build and ship web apps with AI — but adding third-party marketing tools still requires knowing where and how to inject external scripts. For non-technical founders and marketers using Lovable, figuring out the right component, hook, or HTML tag to place a script can interrupt the whole flow of building.

Refybe + Lovable

Adding Refybe to a Lovable project is as simple as asking the AI to add a script tag — or dropping it in manually if you prefer. One embed script is all it takes to bring interactive marketing games into your Lovable app, no extra dependencies required.

You can display a game in your Lovable app as:

Auto Popup

O jogo abre automaticamente quando um visitante acede à página.

Campanhas promocionais Subscrições de newsletter Ações de desconto

Jogo Inline

O jogo é carregado entre o conteúdo da sua página.

Landings pages Artigos de blog Páginas de campanha

Popup via botão

O jogo abre quando um visitante clica num botão.

Call-to-actions Páginas de produto Botões de ação

Exit Intent Game

O jogo aparece quando um visitante tenta sair da página.

Ofertas de última oportunidade Códigos de desconto Reduzir taxa de rejeição

How do you add Refybe to Lovable?

Adding Refybe to your Lovable project usually takes less than 5 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 in your Lovable project.

2

Add the Script to Lovable

  1. 1 Copy the Refybe embed script
  2. 2 Open your Lovable project and start a new chat
  3. 3 Prompt the AI: "Add this script just before the closing </body> tag in index.html: [paste script]"
  4. 4 Review the change and accept it
  5. 5 Publish your project

Lovable's AI will place the script correctly — no manual file editing needed.

  1. 1 Open your Lovable project
  2. 2 Click the code editor icon to open the file explorer
  3. 3 Open index.html
  4. 4 Paste the Refybe script just before the </body> tag
  5. 5 Save and publish your project

Use this if you prefer full control over where the script is placed.

Lovable

Why Lovable builders use Refybe

Refybe is built for founders and marketers who ship fast — adding a marketing game to your Lovable app should be as quick as building it.

No npm packages or dependencies required
Works with any Lovable project
Add via AI prompt or manual code edit
Quick to implement
Fully customizable games
Built-in lead capture & email sign-up forms

Pronto para ligar marketing games ao seu site Lovable?

Junte-se ao número crescente de organizações que utilizam o Refybe para aumentar o envolvimento e atingir objetivos com Marketing Games.