[GA4] Tutorial: Measure outbound clicks for a website

Learn how to detect outbound click events, including button clicks. Set up measurement without any code changes. View the outbound clicks in an exploration.
In this article:

About outbound clicks

An outbound click occurs when a visitor to your website clicks a link that takes them to another website. For example, if your website myownpersonaldomain.com, links to another website, example-pet-store.com, all the clicks that lead your visitors to example-pet-store.com are outbound clicks.

You can configure Analytics to detect an outbound click event each time a visitor clicks a link that leads them away from your domain. Outbound click events can be triggered by any kind of link, including links in the body text or button clicks, as long as they lead the website visitor to another domain.

By default, outbound click events will occur for all links leading away from the current domain. Links to domains configured for cross-domain measurement in tag settings will not trigger outbound click events.

Turn on outbound click measurement

To turn on outbound click measurement, follow the steps to enable enhanced event measurement in Analytics.

You don't need to make any changes in your page code. Once you enable enhanced measurement, Analytics will detect all outbound clicks and populate the dimensions.

View outbound clicks in explorations

Create a custom exploration to view your outbound links.

Follow these instructions to create an example custom exploration for outbound clicks:

  1. Sign in to Google Analytics.
  2. On the left, click Explore.
  1. At the top of the screen, select the blank template.
  2. Next to Dimensions, click + and under Link select:
    • Link domain
    • Link URL
    • Outbound
  3. Click Import.
  4. Next to Metrics, click + and under Event select Event count.
  5. Click Import.
  6. Under Rows, click + Drop or select dimension and select:
    • Link domain
    • Link URL
    • Outbound
  7. Under Values, click + Drop or select metric and select Event count.

To see a large screenshot of the exploration settings and output, go to Example outbound clicks exploration in the Analytics demo account.

To learn about other ways you can customize explorations to view your data, go to Get started with Explorations.

To learn more about the outbound click parameters that are passed in and used as dimensions in reporting, go to link dimensions and parameters.

Related resources

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
2083989415511110803
true
Search Help Center
true
true
true
true
true
69256
false
false