---
title: "External Link Click Trigger - EngageBox"
description: "The \"External Link Click\" Trigger fires when the visitor clicks on external links within your site. Below you can find how to set up a popup with \"Ext"
url: "https://www.tassos.gr/docs/engagebox/triggers/external-link-click"
date: "2026-04-29T13:56:46+00:00"
language: "en-GB"
---

[ Home ](https://www.tassos.gr/index.php?option=com_content&view=category&layout=blog&id=24&Itemid=1088) / [ EngageBox ](https://www.tassos.gr/index.php?option=com_content&view=category&id=35) / [ Triggers ](https://www.tassos.gr/index.php?option=com_content&view=category&id=50)

#  External Link Click Trigger

 External Link Click Trigger is available in Pro  Unlock this and dozens of other powerful features by upgrading to EngageBox Pro.

 [ Unlock this feature ](https://www.tassos.gr/joomla-extensions/engagebox/subscribe)

The "External Link Click" Trigger fires when the visitor clicks on external links within your site. Below you can find how to set up a popup with "External Link Click" trigger, all supported settings for this trigger explained as well as how to trigger it with the JavaScript Events API.[](#how-to-create-external-link-click-popup-in-joomla)

## [How to create an external link click popup in Joomla](#how-to-create-external-link-click-popup-in-joomla)

To set up your popup to trigger on *External Link Click,* go to your popup settings &gt; Behavior Tab &gt; Trigger Section and apply the following settings:

- Under the *Trigger,* select **External Link Click**.
- Set the *Trigger Element* by specifying the ID or the Class of the element(s) that should fire this trigger. You can specify multiple elements separated by comma.

[![engagebox trigger on external link click settings](https://www.tassos.gr/images/2025/09/engagebox-trigger-external-link-click.png)](https://www.tassos.gr/images/2025/09/engagebox-trigger-external-link-click.png)

## [Trigger Settings](#trigger-settings)

Below you can find all settings that are configurable when you choose the "External Link Click" Trigger.

 | Setting | Value | Description |
|---|---|---|
| Trigger | External Link Click | Fires when the visitor clicks on external links on your site. |
| Trigger Element | .myElement | This is optional.  Specify the ID or the Class of the element(s) that should fire this trigger. You can specify multiple elements separated by comma.       Example 1: .item-100, .item-101   Example 2: #logo      Keep in mind that query selectors must always begin with an underscore (\_), a hyphen (-), or a letter(a–z), followed by any number of hyphens, underscores, letters, or numbers |

## [Use Cases](#use-cases)

### [Open a popup when the user clicks on external links that appear on your page](#open-a-popup-when-the-user-clicks-on-external-links-that-appear-on-your-page)

A use case would be when you have external links on your site and you want to warn your users that they are about to leave your site and go to 3rd-party sites.

## [Frequently Asked Questions](#faq)

### [How can I exclude specific URLs?](#how-can-i-exclude-specific-urls)

In some cases, you want to exclude specific external URLs from triggering the External Link Click popup. To do so, you’ll need to go into your Popup &gt; Behavior &gt; Trigger &gt; Trigger Element and add:

 ```
a:not([href*="site.com"])
```

Replace site.com with the site you want to exclude from the External Link Click popup.

To exclude multiple URLs use the following Trigger Element syntax:

 ```
a:not([href*="site1.com"]):not([href*="site2.com"])
```

Replace site1.com and site2.com with the URLs you want to exclude.

The URLs can either be a domain name or a full URL.

### [How to set a button that allows users to get redirected to the external URL they clicked on](#how-to-set-a-button-that-allows-users-to-get-redirected-to-the-external-url-they-clicked-on)

In order to let your users get redirected on the URL they clicked on, you will need to have a link on your popup that looks like this:

 ```
<a href="#" class="eb-btn-continue">Go to URL</a>

```

Note: the CSS Class **eb-btn-continue** is required for the redirection to occur.

### [How to Trigger using Javascript](#trigger-using-javascript)

Using the Javascript Events API v2, you can configure any box to be triggered using the "External Link Click" Trigger. Below you can find a Javascript snippet:

 ```
EngageBox.onReady(function() {
    // Get box instance
    const box = EngageBox.getInstance(5);

    box.bindTrigger('onExternalLink', {
        selector: '.go-external'
    });
});
```

You can read more on the Javascript Events API documentation, [External Link Click Trigger](https://www.tassos.gr/joomla-extensions/engagebox/docs/engagebox-javascript-api-2#onExternalLink).

 External Link Click Trigger is available in Pro  Unlock this and dozens of other powerful features by upgrading to EngageBox Pro.

 [ Unlock this feature ](https://www.tassos.gr/joomla-extensions/engagebox/subscribe)

 Last updated on Sep 9th 2025 13:09

## Schema

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://www.tassos.gr"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Home",
            "item": "https://www.tassos.gr/docs"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "EngageBox",
            "item": "https://www.tassos.gr/docs/engagebox"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Triggers",
            "item": "https://www.tassos.gr/docs/engagebox/triggers"
        },
        {
            "@type": "ListItem",
            "position": 5,
            "name": "External Link Click Trigger",
            "item": "https://www.tassos.gr/docs/engagebox/triggers/external-link-click"
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@type": "Article",
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://www.tassos.gr/docs/engagebox/triggers/external-link-click"
    },
    "headline": "External Link Click Trigger",
    "image": {
        "@type": "ImageObject",
        "url": "https://www.tassos.gr/"
    },
    "publisher": {
        "@type": "Organization",
        "name": "Tassos",
        "logo": {
            "@type": "ImageObject",
            "url": "https://www.tassos.gr/https://www.tassos.gr/media/brand/logo-text.png"
        }
    },
    "author": {
        "@type": "Person",
        "name": "Stergos Zamagias",
        "url": "https://www.tassos.gr/docs/engagebox/triggers/external-link-click"
    },
    "datePublished": "2020-05-16T12:23:33+03:00",
    "dateCreated": "2022-08-09T09:13:10+03:00",
    "dateModified": "2025-09-09T13:24:20+03:00"
}
```
