<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "AdAttributionKit",
  "identifier" : "/documentation/AdAttributionKit/AppImpression/handleTap(reengagementURL:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AdAttributionKit"
    ],
    "preciseIdentifier" : "s:16AdAttributionKit13AppImpressionV9handleTap15reengagementURLy10Foundation0I0V_tYaKF"
  },
  "title" : "handleTap(reengagementURL:)"
}
-->

# handleTap(reengagementURL:)

Processes click-through interactions on your custom rendered ad content, and delivers a URL to the advertised app if it’s
installed.

```
func handleTap(reengagementURL: URL) async throws
```

## Parameters

`reengagementURL`

A universal link into the advertised app that the framework attempts to open.

## Discussion

Use this method to provide a URL to deeply link someone into an advertised app if they have the app installed.

If the system can validate that a person tapped the custom rendered ad content, it attempts to either launch one of
the installed marketplaces to show the product page to install the advertised app, or performs a reengagement if the
advertised app is already installed, and opens the reengagement URL.

AdAttributionKit requires the URL to be a universal link specifically for the advertised app that the framework uses at runtime
to attempt to open the app. If the URL isn’t a universal link, or the universal link isn’t registered to the advertised app, the
framework disregards the URL and
launches the app as usual without passing the URL. For more information, see
<doc://com.apple.documentation/documentation/Xcode/allowing-apps-and-websites-to-link-to-your-content>
and <doc://com.apple.documentation/documentation/Xcode/supporting-universal-links-in-your-app>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)