Berner Setterwall4 min read

    Branch Is Live in Cogny: Deep-Link and Share-Link Attribution for Your Agent

    If your app's links run through Branch, a part of your growth is only visible there: the installs and opens that start from a shared link, a QR code, an email or a web-to-app banner. Ad platforms don't report them, and a second measurement tool only counts what it attributed itself. From today a Cogny agent can read that part too. Branch is a live MCP integration in the analytics catalog, next to GA4, AppsFlyer and the ad platforms.

    It connects with the Branch Key and Branch Secret of your app. There is no OAuth step and no developer app to register.


    TL;DR

    • Branch is live now. Connect it from your workspace Settings → Cogny Managed MCPs with an app's Branch Key and Branch Secret.
    • 6 tools, all read-only. Installs, opens, clicks, commerce, custom and content events, revenue and cost, split by channel, campaign, feature, deep-link status, platform, country and more.
    • Longer periods are handled for you. Branch answers at most 7 days per query. query_analytics_range splits a longer period into 7-day windows, up to 8 per call, and merges the result.
    • Nothing is written. No links are created and nothing in your Branch account changes.
    • The Cross-Channel Performance Analysis scheduled template now uses Branch when it is connected.
    • Works from Cogny's chat and from any MCP client on app.cogny.com/mcp, on every plan.

    What you can do with it

    ToolWhat your agent gets
    get_installs_by_channelApp installs by channel, campaign and feature, with attributed and unattributed installs apart
    get_clicks_by_channelLink clicks by channel, campaign and feature, for deep-link and share-link analysis
    get_events_reportCounts or revenue for opens, commerce, custom or content events, by the dimensions you choose
    get_revenue_reportRevenue on commerce or custom events, by the dimensions you choose
    query_analyticsAny aggregate query Branch supports: pick the event type, the aggregation, the dimensions and the filters, by day or as a total
    query_analytics_rangeThe same query over a period longer than 7 days

    In plain terms: "How many installs came from shared links last week, and from which feature?" "Which campaigns drive clicks that never become installs?" "Compare Branch's installs by channel with what AppsFlyer and Google Ads report for the same days." "What revenue did users from the referral channel generate this month?"

    The last kind of question is where an agent earns its place. Each measurement tool counts in its own way, so the numbers never add up to one total. With Branch, AppsFlyer, GA4 and the ad platforms connected to the same workspace, the agent can put them side by side for the same dates and say where they agree, where they overlap and what only one of them sees.

    Limits worth knowing

    • 7 days per query. This is Branch's limit. For a longer period, ask for it as usual and the agent uses query_analytics_range, which covers up to 8 windows in one call. For a full quarter it makes a few calls.
    • 150 queries an hour. Branch also allows 20 a minute and 5 a second. When Branch says the limit is reached, the tool says so and stops; it does not retry in a loop.
    • 50,000 rows per query, with paging for long results.
    • Aggregates only. The tools return counts and sums. Event-level exports are not part of this release.
    • One app per connection. Each Branch app has its own key and secret.

    How to connect it

    1. In the Branch dashboard, open Configuration → Security & Access → Credentials (in the legacy dashboard: Account Settings → Profile). Copy the Branch Key and the Branch Secret of the app.
    2. Check that your Branch user has the Aggregate Data and Export access levels. Without them Branch refuses the queries.
    3. In your workspace Settings → Cogny Managed MCPs, click Connect on the Branch card and paste both values.

    The credentials are stored encrypted and stay private to your workspace. Disconnect at any time with one click.


    Branch was built because a customer asked for it from the "Wish for an MCP" card in Settings. If the tool you need is missing, ask for it there. If your links run through Branch, connect it from your Cogny dashboard and ask your first question. The full tool list is on the Branch tools page.