Home  ›   Blog   ›  How to Create & Add a Popup in Contao – 2 Methods

How to Create & Add a Popup in Contao – 2 Methods

How to Create & Add a Popup in Contao?

Having worked with Contao for various marketing campaigns, I’ve found its robust features and seamless integrations incredibly useful.

One strategy I’ve discovered to enhance digital engagement is the use of Contao popups, which can significantly grow your email list and boost click-through rates (CTRs).

In this post, we’ll discuss two of the most popular methods for creating effective popups in Contao: the postyou/contao-easy-popup extension and a specialized popup tool like Picreel.

We’ll also explore the differences between these two versatile tools.

Here’s how my Picreel email popup looks in Contao:

Contao Popup

Before we dive in, let’s compare the postyou/contao-easy-popup extension with Picreel:

Criteria postyou/contao-easy-popup Picreel Popup
Multi-platform support ❌ Only works within the Contao ecosystem, ideal for those dedicated to the Contao platform. ✅ Compatible with multiple website platforms, suitable for users managing various sites or considering platform changes.
Feature set ❌ Offers basic functionality for creating and deploying popups. ✅ Includes advanced features such as A/B testing, in-depth analytics, and personalization.
Customization options ✅ Provides basic customization for design and content. ✅ Allows for extensive customization to align with branding and specific requirements.
Integration capabilities ❌ Primarily integrates within the Contao environment. ✅ Integrates with a wide array of website platforms and marketing tools, offering flexibility and scalability.
Targeting capabilities ❌ Limited options, sufficient for fundamental user engagement. ✅ Advanced targeting and segmentation to accurately reach specific audiences based on behavior and demographics.

Based on my experience, I recommend using Picreel for the following reasons:

  • Enhanced customization: Picreel provides extensive customization options, enabling the creation of highly engaging and personalized popups.
  • Advanced targeting: Picreel offers sophisticated targeting and segmentation features, ensuring your popups reach the right audience at the right time.
  • Multi-platform support: Picreel’s compatibility with various platforms makes it easy to switch from Contao, if you choose to do so.

Nonetheless, this tutorial will guide you through creating a popup using both methods.

Method 1: Using the postyou/contao-easy-popup Extension

Here’s how to set up a website or email popup in Contao using the postyou/contao-easy-popup extension:

1. Install the extension

Open Contao Manager: Go to your Contao Manager by typing your website’s URL followed by /contao-manager in your browser.

Open Contao Manager

Find the extension: In the Contao Manager, look for the ‘Packages’ section and enter postyou/contao-easy-popup in the search bar.

Install the extension: Click on the install button next to the extension and follow the instructions to complete the installation.

2. Create content for your popup

Access node management: From the backend of your website, navigate to Content > Nodes.

Add a new node: Click ‘New Node’ and input the content you want your popup to show. This could be text, images, or links.

3. Configure the popup trigger

Setup a trigger: Decide where on your website you want the popup to appear. This could be on a specific page or a particular section.

Insert link to node: In the chosen area, add a link that will open the popup. The code for the link will look like this: <a href=”{{popup_url::NODE_ID}}”>Open Popup</a>, where NODE_ID is replaced with the ID of the node you created.

4. Customize popup settings

In the node settings, you can specify how the popup behaves. Options might include setting a delay before the popup appears, how often it can reappear, and whether it should pop up when users are about to leave the page.

5. Test and launch

Preview and test: Before making the popup live, preview it on your website to ensure it appears correctly across different devices and interacts as expected.

Go live: Once everything looks good and works well, make the popup live for your website visitors.

Method 2: Using Picreel Popup Builder

Picreel is a popup maker that works across multiple platforms, providing a versatile solution for creating popups. Here’s how you can create a Contao website popup using Picreel:

1. Sign up for a Picreel account and log in.

2. Go to the “Campaigns” menu and click “New Campaign” from the top right.

From there, you can either choose a template from the drop-down menu or start from scratch.

New campaign

3. From the templates menu, select the type of popup you want to create.

templates menu

4. After selecting the design, customize it according to your preferences.

design & customize

5. Set up your targeting and trigger options to define when and where you want your popup to appear.

configure

6. Click “Save” to activate your popup.

Embedding Picreel HTML Code Inside Contao

To embed a Picreel popup on your Contao website, follow these steps:

1. Navigate to campaigns and click “View Code.” Click on the code to copy it.

save code

2. Log in to your Contao backend and go to “Layout” > “Templates,” where you can create a new template or edit an existing one.

3. Open the template in the HTML editor and add the Picreel embed code before the closing </body> tag.

4. Save your changes and assign the template to a page layout.

That’s it. You have successfully deployed a popup on your Contao website.

Which Is Better: Method 1 or 2?

For long-term benefits, Picreel is the better choice. It offers advanced popup features and more trigger options. Plus, Picreel ensures your popups work smoothly even if you switch platforms.

Additionally, Picreel provides a forever-free plan tailored for startups and small businesses. This plan allows the creation of unlimited popups with premium features. While the free version is effective, paid plan is available starting at $9.99 monthly.

Alternatively, if you prefer a straightforward solution without additional integrations, a Contao popup extension, such as postyou/contao-easy-popup, can suffice for your basic needs.

Regardless of the chosen method, the main objective is to design popups that enhance user interaction and increase conversions.

FREE. All Features. FOREVER!

Try our Forever FREE account with all premium features!

About the author

Picreel Editorial Team is a passionate group of CRO and eCommerce experts dedicated to delivering top-notch content. We stay ahead of the curve on trends, tackle technical hurdles, and provide practical tips to boost your business. With our commitment to quality and integrity, you can be confident you're getting the most reliable resources to enhance your customer engagement and lead generation initiatives.