TaplineA product of ProdigyAI Solutions SRL

Developers

The Tapline SDK, tracking links and API. iOS only at present.

iOS SDK

Swift Package, iOS 15 or later, no third-party dependencies, includes a privacy manifest. The SDK reads no advertising identifiers (IDFA/IDFV) and does not trigger the App Tracking Transparency prompt. Android is not yet supported.

The current Swift package exposes the module AttributionSDK and the Attribution entry point.

import Foundation
import AttributionSDK

// At app launch. `userId` is your own user identifier, so attributions can be
// joined with your backend; it can also be set later with Attribution.setUserId(_:).
Attribution.configure(apiKey: "sdk_…",
                      baseURL: URL(string: "https://click.aimobileapps.net")!,
                      userId: yourUserId)

// Optional client-side events. Revenue is best reported from your backend.
Attribution.track("trial_started")

On launch the SDK posts an install signal (installation id, your user id, device model, OS version, time zone, language, screen metrics). Launches within the first 24 hours re-send it so newly seen network addresses are included; pending events are retried on subsequent launches or event submissions after transient failures. Permanent client errors discard the event. The SDK retains at most 100 pending events; adding more drops the oldest.

Tracking links

Create a tracking link for each campaign, associated with its app and traffic source. The API returns a case-sensitive, eight-character campaign key in code. Replace {id} in these examples with that key; the other placeholders are filled by the ad platform on each click. Tapline accepts the same key in the ck query parameter or in the existing URL path.

Campaign key in the query string

https://click.aimobileapps.net/?ck={id}&gclid={gclid}&campaign_id={campaignid}&ad_group_id={adgroupid}&keyword={keyword}&transparent=true&redirection_url={lpurl}

Existing path format

https://click.aimobileapps.net/{id}?gclid={gclid}&campaign_id={campaignid}&ad_group_id={adgroupid}&keyword={keyword}&transparent=true&redirection_url={lpurl}

Both formats use the same redirect and click-recording behavior. By default, Tapline immediately returns HTTP 302 to the destination in redirection_url. The transparent parameter defaults to true; Google Ads templates set it explicitly before redirection_url. With Google parallel tracking, the user opens the ad's final URL directly and the Tapline request runs in the background.

The ck format is an additional supported endpoint. Its coverage under Google’s certification has not yet been confirmed; confirm the approved URL format before switching Google Ads templates.

Every click request must include redirection_url or redirect_url. If both are present, Tapline uses redirection_url. Omitting both returns HTTP 400 without recording a click or redirecting.

Keep the app’s App Store page as the ad’s final URL. Put the approved tracking template in the campaign’s URL options, including transparent=true&redirection_url={lpurl}. For the path format, use the exact case-sensitive ID with no /link/ prefix or trailing slash. For the query format, use /?ck={id}. The bare URL returned when creating a link is not a complete Google Ads tracking template.

ParameterMeaning
ckTapline campaign key: the code returned by POST /link, distinct from the ad platform’s campaign_id. Required exactly once for the query format; it must contain exactly eight case-sensitive alphanumeric characters. Empty, malformed or repeated values return HTTP 400. Existing path links use the path ID; ck does not override it. This key identifies the tracking link and is not appended to the destination.
redirection_url or redirect_urlThe required next destination, URL-encoded. It is trimmed and must be an absolute HTTP or HTTPS URL. HTTP destinations are upgraded to HTTPS by changing only the scheme. Any destination host is allowed, including Google’s parallel-tracking completion URLs; empty, malformed, relative or non-HTTP(S) values return HTTP 400 without recording a click or redirecting. Tapline follows the supplied destination, with HTTP upgraded to HTTPS. See transparent click tracking.
transparentDefaults to true for an HTTP 302 redirect. Use transparent=true before redirection_url in Google Ads templates. Only transparent=false selects the JavaScript collector for non-Google links; it still follows the same validated destination. Other values use the default server redirect. Google's gb=1 overrides the collector and forces an HTTP 302 for valid destinations.
gclid, gbraid, wbraidAdvertising identifiers supplied by the ad platform, stored when present. Enable Google Ads auto-tagging; the template above uses the documented {gclid} placeholder.
campaign_id, campaign_name, ad_group_id, ad_id, creative_id, keyword, match_typeCampaign context, stored with the click and included in attribution responses when supplied.
network, deviceStored with the click. The attribution response’s network field comes from the link’s configured source, not this query parameter; device is not returned.
gad_campaignid, gad_sourceGoogle-supplied metadata, stored when present. gad_campaignid supplies the response’s campaignId when campaign_id is absent.
gbGoogle adds gb=1 to parallel-tracking requests. Valid requests carrying this marker use an HTTP 302; do not add this marker manually to the template.

API

Authenticated API endpoints require an X-Api-Key header, as listed below. Public tracking links require no API key. The SDK key (sdk_…) ships inside the app and submits install signals and events by installation ID for that app. The secret key (sk_…) is for your backend.

EndpointKeyPurpose
POST /linksecretCreate a tracking link with destinationUrl and an optional source. The response returns the generated campaign key in code and the existing path-format tracking URL in the HTTP Location header. The same key can be used as ck in a root URL. Keys cannot be supplied by the caller. destinationUrl must be an absolute HTTP or HTTPS URL (HTTP is upgraded to HTTPS). Each click request must also include redirection_url or redirect_url to specify its destination.
GET /{id}noneReturn HTTP 302 to the supplied destination by default. The ID is exactly eight alphanumeric characters and is case-sensitive.
GET /?ck={id}noneTrack the same link using its campaign key in the query string. Uses the same destination validation, redirect modes and click recording as GET /{id}. Requires either destination parameter.
POST /v1/app-signalsecretCreate or update an app signal from the backend. A nonblank userId is required on every upload. Pass observed device public IPs in clientIps; the backend connection IP is never substituted. Server-generated attributionEventAtMs (Unix milliseconds) is required; missing or null values return HTTP 400. Send updates when the attribution event changes even if IPs are unchanged. Event time only advances; stale retries cannot roll it back. The old firstLaunchAtMs field is not a substitute. SDK uploads are no longer supported. /v1/install remains a secret-key-only alias during the backend rollout.
POST /v1/eventsSDK or secretReport an event by installId with either key, or by userId with the secret key. Optional fields are value, currency, transactionId, occurredAtMs and consentGranted. The transaction id deduplicates retries.
GET /v1/attribution/{userId}secretThe click a user's installation was attributed to.

Attribution responses include the matching score, matchingMethod and ruleVersion.

Webhook

When an installation is attributed, a user ID is known, and a webhook URL and secret are configured, Tapline posts an attribution.matched message to your webhook URL containing your user id, the installation id, campaign, ad group, keyword and click identifiers, click and install times and the attribution score. The body is signed with HMAC-SHA256 using your webhook secret (X-Attribution-Signature: sha256=…); verify it before trusting the payload. Failed deliveries are retried with backoff, up to 10 attempts.

Advertising integrations

Attributed installs and the events you report can be uploaded to your own Google Ads account as conversions, keyed by the click identifier and deduplicated by transaction id, subject to Google’s account and conversion-reporting requirements.

Google-certified tracking domain. Google lists Tapline, operated by ProdigyAI Solutions SRL, with the certified domain click.aimobileapps.net. See Google’s certified click trackers list and our tracking configuration guidance.

Access

Keys are issued per app during the private beta. Request access.