Integrate Convert Experiences with Drupal

Introduction

Drupal is a scalable, open platform for web content management and digital experiences.

This integration will allow you to use Convert Experiments A/B Testing on your Drupal powered website.

Create a new experiment

In Experiences screen select "New Experience"

blobid0.png

Copy the Convert Experiments Script

Go to your Project Settings and find the Convert tracking code:

mceclip0.png

Add Drupal Module

Go to your Drupal account and add the module Header and Footer Scripts

Add Convert script into Drupal Module

You can then add the above script into the Drupal Module and then save configurations. This way you will have Convert installed in every page. 

Add Convert Script only to few Pages

If you would like to only install it in few pages This can easily be achieved from a custom module by implementing hook_page_attachments(), checking the page you are on and adding the JS code to the HTML head.

Sample code can be found here.

Test the Integration

Now, go to the live site and check to see if your experiments are running. The changes you made to the variations or original should appear.

Need assistance? Start a conversation with our Support Team.
CONVERT MORE

Reliably Convert More Site Visitors, Even If Everything Else is Changing in Your Business.

START 15-DAY FREE TRIAL
✓ No Credit Card  ✓ Easy Set-Up  ✓ Access All Features

Comments