Ads and tracking (Meta, Google, TikTok and Pinterest)
Everything here lives on one page in your dashboard: Apps, Ads & tracking. If it is missing from your menu, add it from Apps (see Apps). Only the shop owner can open it.
What your shop reports
Once connected, your shop tells Meta (Facebook and Instagram) and Google about:
- Page views on every page.
- Searches, with what the shopper typed and the products that came up.
- Product views, with the product, its price and its catalogue ID.
- Add to cart, with the quantity and value.
- Checkout started, with everything in the cart and the total.
- Payment details chosen when the shopper submits the checkout form, with the cart and total.
- Purchase, with the order number, the total in rand, every item and the number of items.
- Leads: an email sign-up (your sign-up box or a pop-up) and a "tell me when it's back" request on a sold-out product.
- Contact: a message sent through your contact form.
For sign-ups, contact messages and orders, the server copy also carries the shopper's email and phone number, scrambled (hashed) before it leaves your shop. Meta only gets the scrambled version and matches it against its own users, which helps your ads find more people like them.
A purchase is only reported once the payment is actually confirmed: a card payment when your card provider confirms it, an EFT or on-account order when you mark it paid. It is reported once per order, even if the shopper refreshes the thank-you page.
Connect Meta
- Step 1: Open Meta Events Manager (business.facebook.com/events_manager2) and click your pixel under Data sources. Meta sometimes calls it a dataset.
- Step 2: Copy the long number under its name. That is your Pixel ID. If you moved from Shopify, use the same pixel you had there so your ads keep what they have learned.
- Step 3: On the pixel's Settings tab, find Conversions API and click Generate access token. Copy it straight away, Meta only shows it once. It starts with EAA.
- Step 4: Paste both into Ads & tracking and press Save changes.
- Step 5: Press Send test event. You see Meta's own answer on the page. "Meta accepted it" means the pixel and token match.
With the token saved, your shop also reports sales from its own server (the Conversions API). That catches sales the browser pixel misses, for example when an ad blocker is on or the shopper closes the page early. Meta matches the two copies of each event so nothing is counted twice.
Testing with Meta's Test events tab
In Events Manager, open Test events and copy the code shown for server events (it starts with TEST). Paste it into Test event code and save. While it is set, server events show up under Test events and do not count for your ads, so clear it when you are done. It switches itself off 48 hours after you save it, in case you forget.
For the browser side, install Meta's free Meta Pixel Helper extension for Chrome and open your shop.
Connect Google
- Google Analytics 4: Admin, Data streams, your web stream. Copy the Measurement ID (starts with G-).
- Google Ads (optional): Goals, then Summary, open your Purchase conversion, then Tag setup, and choose to add the code yourself. You will see something like AW-123456789/AbCdEf. Paste it into Google Ads conversion ID. The part after the slash is the conversion label, and we split it out for you.
Connect TikTok
In TikTok Ads Manager, open Tools, then Events, then Web events, and create or open your pixel. If TikTok asks how to install it, choose the manual setup; you don't paste any code, we add it for you. Copy the Pixel ID under the pixel's name (about 20 capital letters and numbers) into TikTok Pixel ID and save.
Your shop then tells TikTok about product views, add to cart, checkout, payment details and paid orders (TikTok calls a paid order CompletePayment), plus searches, sign-ups and contact messages. TikTok hears from the shopper's browser only, so a shopper who closes the page before the payment is confirmed, or an EFT order you tick paid later, is not counted there.
Connect Pinterest
In Pinterest Ads, open Conversions and create or open your Pinterest tag. If Pinterest asks how to install it, choose to add the code yourself; you don't paste any code, we add it for you. Copy the Tag ID (a long number) into Pinterest Tag ID and save.
Your shop then tells Pinterest about product views (pagevisit), add to cart, paid orders (Pinterest calls a paid order checkout), searches, sign-ups and contact messages. Pinterest hears from the shopper's browser only, so an EFT order you tick paid later is not counted there.
The cookie notice (POPIA)
On My shop, Policies, in the Cookie notice box, switch on Ask shoppers before loading ad cookies and each new visitor sees a small notice. Meta, Google, TikTok and Pinterest only load after they tap Accept, and their order is only reported from our server if they accepted. If they tap No thanks, nothing is loaded or sent.
The trade-off is that shoppers who ignore or refuse the notice are not counted, so your ad reports show fewer sales than really happened. Mention the ad cookies in your privacy policy either way (Shop, Policies).
Your product catalogue
Your product feed is at the address shown on the Ads & tracking page. Meta uses the one ending in /products.csv, Google the one ending in /products.tsv (the same feed, separated by tabs, which is what Google asks for). It always reflects your live products, prices, sale prices, stock and photos, with one row per variant.
- Meta Commerce Manager: Catalogue, Data sources, Add items, Data feed, use a URL. Paste the feed address and set it to update daily.
- Google Merchant Center: Products, Add products, Add products from a file, Enter a link to your file. Paste the /products.tsv address and leave the daily fetch on. Google also asks you to verify and claim your website: that needs your own domain (Settings, then Connect your domain). Google lets only one account claim a web address, and the Storeforge address is shared by every shop, so never claim it.
- Pinterest: in your Pinterest business account, Catalogues, add a data source. Paste the /products.csv address, set a daily update and currency ZAR. Pinterest asks you to claim your website first, which also needs your own domain.
- TikTok: TikTok Shop is not open to South African sellers, so this is for TikTok ads only. TikTok Ads Manager, Assets, Catalogues. Create a catalogue, add products with a data feed, paste the /products.csv address and set it to update daily. The feed already carries the brand and condition columns TikTok asks for.
Products without a photo are skipped by Meta and Google, so add one to every product you want in your ads. The IDs in the feed are the same IDs your shop sends with every event, which is what lets dynamic ads show the right product.
When something goes wrong
The page shows what we last sent to Meta and Meta's answer. If Meta stops accepting events (usually an expired or deleted access token), a red notice says so. Make a new token, paste it in, save, and press Try again now to resend the last week's events. Problems with tracking never stop a customer from checking out.
Still stuck? support@storeforge.co.za or WhatsApp 073 429 5517.