Meta pixel and Conversions API
Connect your Meta pixel and Conversions API token to your 3DMockups store, test it, and see which events reach Meta for your Facebook and Instagram ads.
Run your own Facebook and Instagram ads for your 3DMockups store. Paste your pixel ID and a Conversions API token, and your store sends every visit, cart and sale to your pixel from the shopper's browser and from our server. Meta counts each one once and optimizes your ads with full data.
This measures your 3DMockups store, the one at 3dmockups.app/shop/your-username. Stores you connected on other platforms, like Shopify, are measured with those platforms' own tools.
Where to set it up
In the 3DMockups web dashboard, go to Sales channels and, under Advertising, click Meta pixel and catalog. The page starts with a checklist that ticks itself as you go.
Add your pixel
- Create a pixel in Events Manager
Open Meta Events Manager, click Connect data sources, choose Web and create a pixel. Meta also calls it a dataset. Already have one? Use it: your audiences and history carry over.
- Copy the pixel ID
The pixel ID is the 15 to 17 digit number under the pixel name in Events Manager.
- Paste it in 3DMockups
Under Pixel and Conversions API, paste it in Pixel ID and click Save. You see "Saved. Your store sends events to this pixel from now on."
Add your Conversions API token
Without a token, only browser events reach Meta, and ad blockers hide part of your sales. With it, our server sends the same events too.
- Generate the token
In Events Manager, open your pixel, go to Settings and, under Conversions API, click Generate access token. Copy it. It usually starts with
EAA. - Paste it in 3DMockups
Paste it in Conversions API access token and click Save. The token stays on our server and is never shown again. You only see its last 4 characters, with a Conversions API row marked Active.
To replace it, paste a new one and save. To stop server events, click Remove > Remove token. Your store keeps sending browser events.
Test your setup
- Get a test code
In Events Manager, open your pixel and the Test events tab. Copy the test code, for example
TEST12345. - Save it in 3DMockups
Paste it in Test event code and click Save. It's only used by the test button.
- Send a test event
Under Test your setup, click Send test event. You see "Meta accepted the test event. Open Test events in Events Manager to see it." It appears there as a PageView and doesn't count in your ads.
The button works once the pixel ID, the token and the test code are saved. You can send up to 10 tests every 10 minutes. To see browser events live too, browse your store while Test events is open.
What your store sends
| Event | When |
|---|---|
| PageView | A shopper opens a page of your store. |
| ViewContent | A shopper opens a product. |
| Search | A shopper searches in your store. |
| AddToCart | A shopper adds a product to the cart. |
| InitiateCheckout | A shopper starts checkout. |
| AddPaymentInfo | A shopper submits payment details. |
| Purchase | The payment is confirmed. Once per checkout. |
| Lead | A shopper signs up to your store’s newsletter. |
- Each event goes from the browser and from our server with the same
event_id, so Meta counts it once. Purchase comes from our server when the payment is confirmed, and from the browser on the thank you page. - Events carry product IDs, quantities, prices and the order value in US dollars.
- Email, phone, name and address are hashed before they reach Meta, and only when the shopper gave them at checkout or in your newsletter form.
- Product IDs match your product catalog, so catalog ads work. See Meta catalog for ads.
Purchase value
The value of each Purchase is what the products sold for, after discount codes, without taxes and without shipping. Paying with 3DMockups Cash doesn't lower it, because Cash is a way to pay, not a discount.
Under Purchase value, Include shipping in purchase value adds shipping to that value. It's off by default, and off is recommended: your ROAS stays based on product sales. It saves as soon as you switch it, and the change affects reported ROAS from then on.
Shopper privacy
- Nothing is sent for shoppers who turned off advertising cookies or use Global Privacy Control.
- Where the law requires consent first, nothing is sent until the shopper accepts advertising cookies.
- The server Purchase follows the choice the shopper had when they paid.
Domain verification
Your store lives on 3dmockups.app, so you can't verify that domain in your Business Manager. You don't need to: your events and ads work without it.
Check what reached Meta
Events sent shows the last 7 days: how many of each event Meta Accepted and Rejected, and when the last one went out. Below, a table lists the latest purchases, tests and errors, with where they came from (Store, Checkout or Test). These counts come from our server, so they appear once your token is saved.
Launch your campaigns
In Ads Manager, pick this pixel and the Purchase event. For catalog ads, add your catalog first. See Meta catalog for ads.
Troubleshooting
Events sent says No events yet
Add your Conversions API token: without it, this table stays empty even though browser events still go out. With a token, visit your store in a browser where you accepted cookies.
Meta rejected some events
The page shows the last error from Meta. Most often the token is no longer valid or belongs to another pixel. Generate a new token from the same pixel in Events Manager and paste it.
Nothing shows in Events Manager
- Check that the pixel ID in 3DMockups is the one you're looking at in Events Manager.
- Turn off ad blockers and accept advertising cookies in your store while you test.
- Use the Test events tab to see events as they arrive.
Will sales be counted twice?
No. The browser and our server send each event with the same event_id, and Meta keeps one. If purchase values look higher than your product sales, check whether Include shipping in purchase value is on.
Save shows an error
| Message | What to do |
|---|---|
| A pixel ID is 15 to 17 digits. | Copy the number under the pixel name in Events Manager again. |
| That does not look like a Conversions API access token. | Copy the whole token, with no spaces. |
| Test event codes are letters and numbers, like TEST12345. | Copy the code from the Test events tab again. |
| Too many test events. Try again in a few minutes. | Wait a few minutes before the next test. |
Need help? Email support@3dmockups.app.