+92-345-3133668 info@boundlesstech.net WhatsApp us
Get a Quote

How to Track Outbound Links using GTM?

Tracking outbound link clicks helps you understand how users interact with external websites from your own pages. With recent updates in Google Tag Manager (GTM), this process has become much more efficient by using the Auto-Event Variable configuration. Below is a step-by-step guide to setting it up correctly. Step 1: Create an Auto-Event Variable Start […]

Boundless Technologies
1 min read
GTM Outboard LinkGuides22 Dec 20251 min readBoundless Technologies

Tracking outbound link clicks helps you understand how users interact with external websites from your own pages. With recent updates in Google Tag Manager (GTM), this process has become much more efficient by using the Auto-Event Variable configuration.

Below is a step-by-step guide to setting it up correctly.

Step 1: Create an Auto-Event Variable

Start by opening Google Tag Manager and navigating to Variables.
Scroll down to User-Defined Variables and click New.

Google Tag Manager

When prompted to choose a variable type, select Auto-Event Variable.

Configure the variable using the following settings:

  • Variable Type: Element URL

    Component Type: Is Outbound

    If your website uses multiple domains that should be treated as internal (such as a blog or store hosted on a different domain), add those domains in the Affiliated Domains field. Separate each domain with a comma.

    Give the variable a clear name, such as Is Outbound Link, and save it.

    GTM Outbound

    Step 2: Create a “Just Links” Trigger

    Next, go to the Triggers section in GTM and click New.

    GTM

    Choose Click → Just Links as the trigger type.
    Enable or disable Wait for Tags and Check Validation based on your tracking requirements. If enabled, ensure the trigger conditions are configured correctly.

    Choose Top SEO Agency in Karachi

    Contact us now and let's embark on the journey to online success together!

    Contact Us

    Set the trigger to fire on Some Link Clicks, then define the condition as follows:

Keep reading

Related articles.

Boundless Technologies · since 2002

Let’s grow your business
online, together.

Websites, SEO, social media, paid ads and branding — from one team in Karachi.

↑