Skip to main content

Connect Triple Whale to DatAds

Load Triple Whale orders, revenue, ROAS and new-customer metrics per ad into DatAds with your shop URL and a Triple Whale API key.

Written by Daniel von Mirbach

Connect Triple Whale to see Triple Whale's orders, order revenue, return on ad spend (ROAS) and new-customer metrics for each ad in your DatAds reports. You connect Triple Whale once for each ad account, and you choose which Triple Whale attribution models and windows DatAds loads.

Who can use this

  • Plans: Regular and Custom, the legacy Plus and Pro plans, and the free trial. Not available on Lite and the legacy Starter plan.

  • Roles: Admin and Member (Members only for attribution platform connections of their clients). Admins and Members connect, change and delete Triple Whale connections. Every role that can open a client's reports sees the Triple Whale metrics.

  • Platforms: Meta, TikTok and Google Ads ad accounts

  • In Triple Whale: access to Settings > API Keys to create an API key

What connecting Triple Whale gives you

A Triple Whale connection adds Triple Whale metrics to every report of each client that contains the connected ad account. In a report's metric list, the Triple Whale metrics are under 3rd Party Metrics. How attribution platforms work in DatAds explains how attribution platform metrics work in reports.

Most Triple Whale metrics exist once for each combination of attribution model and window you select. Their name ends with the model and the window in brackets, for example ROAS (Triple Attribution-7d) or NC-ROAS (First Click-LT). NC means new customer.

The following table lists the Triple Whale metrics in DatAds and how DatAds calculates the ratios:

Metric

What it shows

Per model and window

Orders, NC Orders

Orders that Triple Whale attributes to the ad, in total and from new customers.

Yes

Order Revenue, NC Order Revenue

Revenue of these orders, in total and from new customers.

Yes

ROAS

Order Revenue ÷ Spend.

Yes

NC-ROAS

NC Order Revenue ÷ Spend.

Yes

CPO (cost per order)

Spend ÷ Orders.

Yes

NC-CPO

Spend ÷ NC Orders.

Yes

Pixel New Customer Purchases Percent

NC Orders ÷ Orders.

Yes

NC-CR (new-customer conversion rate)

NC Orders ÷ New Visitors.

Yes

Spend

Ad spend as Triple Whale reports it.

No

Unique Visitors, New Visitors

Visitors from the ad, and visitors who visited for the first time, as the Triple Whale pixel counts them.

No

Pixel New Visitor %

New Visitors ÷ Unique Visitors.

No

Before you connect Triple Whale

Before you connect Triple Whale, prepare the following:

Triple Whale API Keys page with the scopes Summary Page: Read and Pixel Attribution: Read selected

The API Keys page in Triple Whale's settings. DatAds needs the scopes Summary Page: Read and Pixel Attribution: Read.

Connect Triple Whale to DatAds

You can select at most 6 combinations of Triple Whale attribution models and windows. The number of combinations is the number of models times the number of windows, for example 3 models and 2 windows.

To connect Triple Whale to an ad account:

  1. Go to Settings > Connections.

  2. Under Attribution Platforms, on the TripleWhale card, select Connect. If the card already lists a Triple Whale connection, select Add.

  3. In Select Accounts, select the ad account that Triple Whale tracks, then select Connect.

  4. Under Shop URL, enter your Shop URL, for example store-name.myshopify.com.

  5. Under API Key, enter your Triple Whale API key.

  6. Under Attribution Models, select one or more models.

  7. Under Attribution Windows, select one or more windows. Keep the total at 6 combinations or fewer.

  8. Under Step 4: Confirm the scopes, select the checkbox to confirm that the API key has both scopes.

  9. Select Finish setup.

DatAds then says: "We are loading the TripleWhale data in the background. You can expect the data to be available in the next 2-3 hours." On the TripleWhale card, the connection shows Initializing, then Loading historic data, then Active. Connection statuses and what they mean explains each status. If the Triple Whale connection shows Error or No matching ads, see the troubleshooting section of this article.

DatAds doesn't check the API key during setup. A wrong Shop URL or API key shows up later as an Error on the connection. One Triple Whale connection covers one ad account. To connect Triple Whale to more ad accounts, repeat the steps for each ad account. You can use the same Shop URL and API key.

What DatAds syncs from Triple Whale

The following table lists what DatAds loads from Triple Whale for each connected ad account:

Item

Details

Level

One value per ad and per day, by the event date in Triple Whale.

Metrics

The Triple Whale metrics in this article, for each model and window combination you selected.

First load

The same recent days as the data refresh of the ad account, at least the last 30 days, then older data up to 12 months (365 days) in the background. The connection shows Loading historic data until the history is complete.

Refresh

After each data refresh of the ad account. New data usually appears within 12 hours.

Days reloaded at each refresh

The same days as the data refresh of the ad account, at least the last 30 days, so orders that Triple Whale attributes later still appear.

Triple Whale attribution models and windows you can select

DatAds offers 8 Triple Whale attribution models: Triple Attribution, Triple Attribution + Views, Clicks & Views, First Click, Last Click, Linear All, Total Impact and Linear Paid. The model name appears in full in the metric name.

The following table lists the 5 Triple Whale attribution windows and their short names in metric names:

Window in DatAds

Short name in metric names

1 day

1d

7 days

7d

14 days

14d

28 days

28d

Lifetime

LT

How DatAds matches Triple Whale data to your ads

DatAds matches Triple Whale data to ads by ad ID. DatAds requests only the Triple Whale data of the ad platform of the connected ad account, for example only Meta data for a Meta ad account. DatAds keeps the rows whose ad ID belongs to the connected ad account and ignores all other rows.

If no Triple Whale row matches an ad in the connected ad account, the Triple Whale connection shows No matching ads. This happens, for example, when the Shop URL belongs to a shop that doesn't run ads from this ad account.

Note: You can connect several Triple Whale shops to the same ad account. If two Triple Whale connections have data for the same ad and day, DatAds keeps the higher value of each Triple Whale metric.

Change the Triple Whale models, windows or API key

A Triple Whale connection has no edit screen. To change the Triple Whale models or windows, or to replace the API key, run the steps in "Connect Triple Whale to DatAds" again. Select the same ad account and enter the same Shop URL.

DatAds then updates the existing Triple Whale connection instead of adding a new one. The connection shows Initializing again and loads its data again. If you changed the models or windows, DatAds first deletes the Triple Whale data it stored for that ad account. A different Shop URL creates a second Triple Whale connection for the same ad account.

Delete or reconnect Triple Whale

To delete a Triple Whale connection:

  1. Go to Settings > Connections.

  2. On the TripleWhale card, select the connection.

  3. Select Delete connection and confirm.

DatAds shows "Connection deleted successfully." and stops loading Triple Whale data for that ad account. Triple Whale metrics that were already loaded can stay in your reports with their old values. How attribution platforms work in DatAds explains when they disappear.

Important: If you remove the ad account from DatAds, for example by clearing it in Select Accounts or removing it from its last client, DatAds also deletes its Triple Whale connections. Connect Triple Whale again after you add the ad account back.

If the Triple Whale connection shows Ad account removed, its ad platform connection was deleted or lost access to the ad account. Select the connection, then Reconnect. DatAds keeps the Shop URL, API key, models and windows. A connection shows "Ad account removed" has the steps.

TripleWhale (Webhook) connections

The TripleWhale (Webhook) card is an older version of the Triple Whale connection. Its button says Deprecated, and a TripleWhale (Webhook) connection no longer loads new data into DatAds. To keep getting Triple Whale data, connect the TripleWhale card as described in this article. Then delete the old TripleWhale (Webhook) connection.

Troubleshooting the Triple Whale connection

"You selected too many models and windows"

The Triple Whale setup page shows "You selected too many models and windows. At most 6 combinations are allowed (e.g. 3 models and 2 windows). Please unselect attribution models or windows." Clear models or windows until the number of models times the number of windows is 6 or less.

Finish setup stays disabled

The Finish setup button on the Triple Whale setup page stays disabled until every step is complete. Enter the Shop URL and the API key, select at least one model and one window, and select the checkbox under Step 4: Confirm the scopes.

"Invalid TripleWhale connection token"

The Triple Whale setup ends on an error page with "Invalid TripleWhale connection token" or "At most 6 combinations of attribution models and windows are allowed" and "Please try again". DatAds received incomplete setup details. Start again from the TripleWhale card in Settings > Connections and complete every step.

Error details start with "Authentication error"

The Triple Whale connection shows Error, and its Error details say: "Authentication error. Ensure the store url "your Shop URL" is following the format "store-name.myshopify.com". Ensure you provided a valid API key from "https://developers.triplewhale.com/api-keys"". Triple Whale rejected the request. Common causes are a Shop URL in another format, an API key that was deleted, or an API key without the two scopes.

To fix it, create a new API key at app.triplewhale.com/api-keys with the scopes Summary Page: Read and Pixel Attribution: Read. Then run the connect steps again for the same ad account, with the Shop URL in the format store-name.myshopify.com.

Error details say "Error fetching data"

The Triple Whale connection shows Error with "Error fetching data" when loading Triple Whale data failed at least twice within 24 hours. DatAds tries again at each data refresh, and the status changes back to Active after a successful load. If the error stays, contact support.

Triple Whale connection shows No matching ads

The Triple Whale connection shows No matching ads when no Triple Whale data matched an ad in the connected ad account. Make sure that the Shop URL belongs to the shop that runs the ads of this ad account. Then make sure that Triple Whale shows ad-level data for the ad platform of the ad account.

The TripleWhale card shows Upgrade to unlock or You are not an admin

The TripleWhale card shows Upgrade to unlock when your plan doesn't include attribution platforms, for example Lite. To use Triple Whale, upgrade to Regular. See Compare plans. The card shows You are not an admin when you are a Visitor. Ask an Admin or Member of your workspace to connect Triple Whale.

Triple Whale connection still not working

If the Triple Whale connection still doesn't load data, contact support via the chat in the app or at [email protected]. Send your workspace name, the ad account ID, the name of the Triple Whale connection and the text of its Error details. Never send your API key.

Related articles

Did this answer your question?