What AfterAds does
AfterAds works out your store’s profit. It starts from net sales and subtracts product costs, shipping, payment fees, ad spend and the expenses you enter. Its Ads screen shows which ad channels made money after those costs and, on Pro, breaks this down by campaign, ad and product. It also gives you ready-made reports, alerts, summary emails and goals.
Your store’s sales, cost, traffic and stock figures come from Shopify’s own analytics data, which AfterAds reads with ShopifyQL, Shopify’s analytics query language.
What it is not
- It does not change your ads. AfterAds reads from Meta and Google Ads. It never creates, changes, pauses or deletes a campaign, an ad, a budget or a setting.
- It does not send your store data to Meta or Google. Apart from signing in, and asking Meta to withdraw our permission when you disconnect, our requests to them only ask which ad accounts you can open and for one account’s figures over a date range.
- It does not take the ad platforms’ word for orders. An “order from ads” is an order Shopify itself matched to an ad visit. What Meta or Google claim is shown next to it, never in its place.
What AfterAds reads from your store
AfterAds asks Shopify for three permissions:
read_reports, to run ShopifyQL queries.read_products, to look up where a product variant’s cost is kept in Shopify.write_inventory, to save a unit cost you enter back to Shopify (see “What AfterAds writes to your store”).
A permission label wider than our use. Shopify’s documentation says that ShopifyQL also requires Level 2 access to protected customer data, which covers customers’ names, addresses, phone numbers and email addresses. So Shopify may show AfterAds as able to see that kind of data. None of AfterAds’ queries asks for those fields; the list below is everything it reads.
Through ShopifyQL, AfterAds reads:
- Sales: gross sales, discounts, returns, net sales, shipping charges, taxes, duties, total sales, orders, average order value, cost of goods sold and gross profit, per day and per month, and per product and variant (ID, title and SKU, including the title and SKU a product had when it sold).
- Order-level data, for the Ads screen and the “Profit per order” report: each order’s ID and order number, the products on it, its sales, shipping charged, product cost, Shopify Payments and international fees, and shipping-label cost.
- How each order was reached, for the Ads screen: the marketing touches Shopify recorded for the order. These are the traffic type, the referring platform and channel, the marketing activity, the UTM source, medium, campaign and content, the tracking tag Shopify associates with an ad click ID, whether the customer was new or returning, and the credit each touch gets under Shopify’s attribution models.
- Costs and money: shipping-label costs, Shopify Payments, foreign-exchange and Managed Markets fees, payments by payment provider, and payouts.
- Ad spend Shopify knows about: the spend, impressions, clicks, orders and sales your marketing channels report to Shopify, per channel and campaign, and Shop Campaigns spend, orders and sales.
- Traffic: sessions, sessions that added to cart, reached checkout and completed checkout, and conversion, per day and per referring channel. Bot sessions are counted separately and left out of these figures.
- Stock: units on hand, units sold, sell-through rate and days of stock left, per variant.
- Report data: sales tax by country, region, city, tax name and rate; returns by reason; discount codes with their orders and sales; and counts of new and returning customers per month.
Through Shopify’s Admin API it reads your shop’s name, currency and time zone, whether your store is a Shopify partner development store (so that such a store is given test charges), and, when it saves a cost, which inventory item belongs to a product variant. It also reads your store’s email address, only when an email to it is about to go out, and does not keep it.
That is the complete list. AfterAds never asks Shopify for a customer’s name, email address, phone number or postal address, and it does not use Shopify’s order or customer APIs.
Order-level data is personal data. You can link an order ID or order number to the customer who placed it, so we treat the order-level rows above as personal data of your customers. AfterAds keeps them only in a short-lived cache (see “What AfterAds stores”).
Customer requests. When a customer asks your store for their data or asks to be erased, Shopify sends us a notice that can include that customer’s email address and phone number. We do not keep them.
What AfterAds writes to your store
AfterAds writes one thing: a product variant’s unit cost.
On the Product costs screen, the box “Also save this cost in Shopify” (or “Also save these costs in Shopify”) is ticked by default. When you save with the box ticked, AfterAds also writes the cost to that variant in Shopify, so Shopify’s own reports use it too. Untick the box and the cost stays in AfterAds only.
Only a cost that is in force today is written. A cost dated in the future, or one already replaced by a newer cost, is not. The cost Shopify held before is replaced, and AfterAds does not keep a copy of Shopify’s earlier value. The cost history you enter stays in AfterAds.
AfterAds changes nothing else in your store.
What AfterAds stores
All of this is kept in our own database, per store:
- Store details: your shop domain, name, currency, time zone and plan, when you installed and uninstalled, and your fee, shipping and cost assumptions.
- Your Shopify sign-in: the access token and refresh token Shopify issues for your store.
- What you enter: product unit costs (with each variant’s ID, SKU and title), expenses, ad spend you type in, goals, alert settings, and the months you close with their totals.
- A history ledger: for each past day, the first and the latest value Shopify gave us for figures such as net sales, orders, returns, recorded product cost, shipping-label cost, Shopify Payments fees, reported ad spend and human sessions, and each later change Shopify makes to them.
- Alerts: each alert that fired, with its title, text and the figures behind it.
- Email recipients: the addresses you add for summary and alert emails, their schedule, and a random unsubscribe code for each.
- Customer data requests: Shopify’s request ID and the order IDs it names, kept until the reply to the store owner is sent, and never longer than 7 days.
- Slack: the Slack incoming-webhook address you paste in, if any.
- Feedback: what you write in the feedback box in the app, including any email address you add so we can reply, with the page, the app language and when you sent it. We also email it, with your shop domain and plan, to support@mayplugins.com through Brevo; the message is never written to our logs. Please leave out personal details of your customers. It is deleted with the rest of your store data about 48 hours after you uninstall; to have the emailed copy deleted too, email privacy@mayplugins.com.
- A query cache: Shopify’s answers to our ShopifyQL queries, so moving between screens does not ask Shopify again. A screen reuses an answer for up to 10 minutes. Some answers hold the order-level data listed above. Once an hour, AfterAds deletes every cached answer that is more than 24 hours old, and a customer redaction request deletes your store’s whole cache at once.
- Ad connections, if you connect Meta or Google Ads (see below).
We never ask Shopify for a customer’s name, email address, phone number or postal address, and we do not keep the contact details that come with Shopify’s customer notices.
Connecting Meta (optional, Pro)
Nothing happens until you press Connect Meta Ads on the Settings page. You sign in with Facebook Login for Business and approve AfterAds for the ad accounts you choose. AfterAds then receives an access token with Meta’s ads_read permission, which is for reading ads reports. If Meta gives the token an end date, syncing stops from that date and AfterAds asks you to connect again. You can end it at any time by removing AfterAds in your Facebook settings, under Business integrations.
What we read from Meta:
- The ID Meta gives your login for AfterAds (an “app-scoped” ID). We use it to match a deletion request from Meta to your connection, and to see whether the same login connects AfterAds to another store.
- The ad accounts your login can read: their ID, name, currency and time zone.
- For the account you pick, per ad and per day: campaign, ad set and ad IDs and names, spend, impressions, clicks, and the purchases and purchase value Meta credits to the ad. Meta’s other action counts arrive in the same answer and are discarded.
- On the first sync, up to 400 days of history. After that, once a day, the last 28 days are read again, because Meta can still revise them.
What we store: the account’s ID, name, currency and time zone; the app-scoped ID; the token, encrypted (see “How we protect ad-platform tokens”); the daily rows above, per ad and per campaign; the exchange rate you type in, if the account’s currency differs from your store’s; when the last sync ran; and, if it failed, a plain sentence saying why.
What we never do with it: we never change your ad account. We never sell Meta data, use it for advertising or share it with anyone. Campaign and ad names leave AfterAds only where an alert names them, in the summary and alert emails and the Slack posts you set up. Figures worked out with the Meta spend, such as net profit and a campaign’s loss, leave AfterAds only in those emails and posts and in the day-by-day file you download from the Profit page (see “Emails and Slack messages”).
Asking for your Meta data to be deleted
You have four ways:
- Disconnect on the Settings page. This works on every plan, Free included, and takes effect immediately: we delete the connection, its token and every row synced from Meta. We also ask Meta to withdraw AfterAds’ permission, unless the same Meta login still connects AfterAds to another store. To make sure the permission is gone at Meta, check Business integrations in your Facebook settings.
- Uninstall AfterAds from Shopify. The connection, its token and its synced rows are deleted at once. Uninstalling does not ask Meta to withdraw the permission; you can remove AfterAds in your Facebook settings, under Business integrations.
- Send a deletion request through Meta. Meta’s documentation says a Facebook user can send an app a data deletion request from Settings & Privacy, Settings, Apps and Websites. When Meta passes us such a request, we first check that Meta signed it with our app’s secret. If it did, we delete every Meta connection in AfterAds made with the Facebook login named in the request, in every store, together with its token and every row synced from Meta. We then give Meta a confirmation code and a link to a status page at
https://afterads.mayplugins.com/connect/meta/deletion. The page shows the code, the date we received the request, and whether a connection was linked to it and deleted. - Email privacy@mayplugins.com.
We keep no record of a deletion request itself. The confirmation code is signed rather than stored, so nothing about you stays behind for it to be looked up against. Our log records only how many connections were deleted, never the ID Meta sent.
Connecting Google Ads (optional, Pro)
Google has verified AfterAds’ access, and stores on Pro can connect.
Nothing happens until you press Connect Google Ads on the Settings page. You sign in with Google and grant one permission, https://www.googleapis.com/auth/adwords. We ask for offline access, so the daily sync can run while you are away. If you untick that permission on Google’s screen, no connection is made.
What we read from Google:
- The Google Ads accounts your Google login can open: up to 20 directly, plus the client accounts under any manager account you can open. For each account: its ID, name, currency and time zone, and whether it is a manager or test account.
- For the account you pick, per day: campaigns (ID, name and type); ads (campaign, ad group and ad IDs and names, and the ad type); and products in Shopping and Performance Max campaigns (the Merchant Center item ID and the product title). Each comes with cost, impressions, clicks, conversions and conversion value.
- On the first sync, up to 400 days of history. After that, once a day, the last 30 days are read again, because conversions can still arrive for them.
We do not ask Google for your name, email address or profile. The Google Ads permission is the only one we request.
What we store: the account’s ID, name, currency and time zone; the manager account used to reach it, if any; the access token and the refresh token, both encrypted; the daily rows above, per campaign, per ad and per product; the exchange rate you type in, if needed; when the last sync ran; and, if it failed, a plain sentence saying why.
A permission wider than our use. Google offers a single permission for the Google Ads API and describes it as “See, edit, create, and delete your Google Ads accounts and data”. AfterAds only reads: it lists the accounts you can open and runs report queries, and it never calls any of Google’s operations that change an account.
Ending it. Disconnecting, on any plan, deletes the connection, both tokens and every row synced from Google, and so does uninstalling AfterAds. We do not withdraw the permission at Google ourselves: to withdraw it, remove AfterAds at myaccount.google.com/permissions.
Google API Services User Data Policy
AfterAds’ use and transfer of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements. In practice:
- Use. Google Ads data feeds what you see in AfterAds: the Ads screen, the ad spend in your profit figures, and the alerts and summaries built from them.
- Transfers. We give Google Ads data to no one. It leaves AfterAds only in the alert and summary emails we send through our email provider to the addresses you choose, in the Slack posts we send to the Slack address you give us, and in the day-by-day file you download from the Profit page. These carry your ad spend and profit, worked out with the Google Ads spend, and, where they report an alert, a campaign’s or ad’s name, spend and result. Product names from Google never appear in an email or a Slack post.
- People. We do not let people read it, except as that policy allows: to investigate a bug or abuse, to comply with the law, or with your agreement to look at specific data, for example when you ask us for help. Our logs record that a sync ran or failed and the kind of failure, never the data Google sent.
- Never: advertising, data brokers, resale, or credit and lending decisions.
How we protect ad-platform tokens
The Meta token and the Google tokens are encrypted before they are stored:
- AES-256-GCM with a 256-bit key. The key is kept in our server’s environment, not in the database.
- A new random 96-bit initialisation vector for every value, and a 128-bit authentication tag checked every time a token is decrypted. If a single byte has changed, decryption fails.
- Each encrypted token is tied to its store, platform and token type. A token copied onto another store’s record does not decrypt there.
- No key, no connection. If the server has no valid key, direct connections are switched off, so we never store a token we could not encrypt.
- Tokens stay out of sight. A token is decrypted in memory only to make a request to the platform it came from: a sync or, for Meta, withdrawing our permission when you disconnect. It is never logged, never shown on screen and never sent anywhere else. The error you may see on the Settings page is our own plain sentence, never the platform’s message.
- Every request to Meta that carries a token also carries a proof built from our app secret (Meta’s
appsecret_proof). - The sign-in link is single use. Each connection attempt gets a random code that can be used once and expires after 15 minutes. The store a connection belongs to comes from our own record, never from the link Meta or Google sends back.
Emails and Slack messages
Who receives them: only the addresses you add under Alerts & emails. Nobody is added automatically, and a recipient does not need a Shopify login. Alert emails go to the same list. Each address gets its own email, so recipients never see each other. Emails are sent in AfterAds’ name through our email provider, Brevo.
Summary email (daily on Pro; weekly or monthly on any plan):
- your store’s name and the period;
- a one-line result;
- net sales, net profit, orders and conversion rate, each with the change since the period before;
- one line on how far to trust the profit figure (for example, how much of your sales has no product cost);
- your top 3 products by net sales, with units sold;
- up to 10 recent alerts;
- a link to the app and an unsubscribe link.
If you have connected Meta or Google Ads, net profit has that account’s spend subtracted.
Alert email: your store’s name, each alert’s title and text, a link to the app and an unsubscribe link.
Slack: if you paste a Slack incoming-webhook address, the alerts you send to Slack are posted to that channel. Each post has your store’s name, the alert titles and texts, and a link to the app. Only hooks.slack.com addresses are accepted.
Stopping them: every email has an unsubscribe link, and the headers mail programs use to offer their own one-click Unsubscribe button. The link opens a page that shows a partly hidden address and asks the recipient to confirm, so a mail scanner opening the link cannot unsubscribe anyone. Confirming, or using the mail program’s button, deletes that subscription. Alert emails go to every address on a summary list, so an address gets no more alerts once none of its summaries is left. You can also remove an address, or the Slack link, in the app at any time.
Brevo’s logs: Brevo keeps a log of the emails it sends for us, and its data processing terms say such logs can include the recipient, the subject and the content. Removing a recipient or uninstalling AfterAds does not delete those logs. To have the log entries for an address deleted, email privacy@mayplugins.com.
Retention and deletion
While AfterAds is installed, these have no time limit: your costs, expenses, settings, history ledger, alerts, goals and closed months, and the rows synced from Meta or Google Ads, which are not trimmed as they grow older. Two things are time-limited: the query cache (see “What AfterAds stores”) and unused sign-in codes, which expire after 15 minutes and are deleted when a new connection is started.
If you leave Pro, syncing stops, but a connection and its rows stay until you disconnect or uninstall. You can disconnect on Free.
| When | What is deleted | How soon |
|---|---|---|
| You disconnect Meta or Google Ads | That connection, its tokens, every row synced from it, and any sign-in still in progress | Immediately |
| Meta sends a data deletion request | Every Meta connection made with the Facebook login named in it, in every store, with its tokens and synced rows | Immediately |
| You remove a recipient, or they unsubscribe | That subscription, with its address | Immediately |
| You remove the Slack link | The webhook address | Immediately |
| A cached answer is more than 24 hours old | That answer | At the next hourly run |
| Shopify sends a customer redaction request | Your store’s whole query cache, the only place AfterAds keeps order-level data | On receipt |
| You uninstall AfterAds | Your Shopify sign-in, every email recipient, and all ad connections with their tokens and synced rows. Scheduled work and emails stop. Your costs, expenses, settings, history, alerts, goals, closed months and Slack link are kept for now, so a quick reinstall keeps your setup. | Immediately |
| Shopify sends a shop redaction request, about 48 hours after you uninstall | Everything we still hold for your store | On receipt |
A customer data request from Shopify: while AfterAds is installed, we email the store owner, at the store’s email address in Shopify, any order-level rows the query cache still holds for the orders named in the request, or confirm that we hold none. AfterAds keeps no customer names or contact details, other than any you write in the feedback box yourself. We keep only the request’s ID and the order IDs it names until the email is sent (at most 7 days), and no record of the request after that.
Where data is processed
In our own database, hosted for us by Railway in its EU West region (Amsterdam, Netherlands). Railway’s data processing terms state that its primary processing operations take place in the United States, that customer data is backed up daily, and that it keeps regular backups across multiple sites and regions, so we cannot tell you that your data sits in one region only. Under those terms, transfers out of the EEA rely on the EU-US Data Privacy Framework where the recipient is certified under it, and otherwise on the EU Standard Contractual Clauses.
Railway also keeps logs for us: the messages the app writes while it runs, and a log of the requests that reach the app, which records among other things the IP address each request came from. These logs are separate from our database and are not cleared when you uninstall. How long Railway keeps them is set by Railway.
Our requests to Meta go to Meta’s Graph API, and our requests to Google go to Google’s sign-in service and the Google Ads API. Emails go out through Brevo, and Slack posts go to the Slack address you gave us.
Subprocessors specific to this app
In addition to Shopify and Railway on the main Privacy Policy:
| Subprocessor | What it receives | When |
|---|---|---|
| Brevo | The recipient address, subject and content of each summary or alert email, and of each reply to a customer data request (which can contain order-level rows); and each feedback message you send us, with your shop domain and plan | Only when an email is sent |
| Hostinger | Each feedback message you send us, as an email in our support inbox | Only when you send feedback |
AfterAds uses no other subprocessor. It sends nothing to OpenAI or to any other model provider.
Services you connect yourself are not subprocessors: you give us permission to read your own account, and we read from it.
- Meta Platforms (Marketing API), if you connect Meta. We send it no store data.
- Google (Google Ads API), if you connect Google Ads. We send it no store data.
Billing
AfterAds has a free plan and one paid plan, Pro, at $19 (USD) every 30 days, billed through Shopify, with a 14-day free trial. If you move back to Free in the app, AfterAds asks Shopify to credit the unused days of the current period. AfterAds does not use credits: the evaluation credits and monthly credits described in the Terms of Service do not apply to AfterAds.
Legal basis, your rights, security and governing law are covered in the Privacy Policy and the Terms of Service. Questions: privacy@mayplugins.com