How should we set up custom events in Shopify, such as quiz completions?
Our answer
Use apps' own integrations and standard events first. Publish a custom event such as a quiz completion from your theme only when nothing covers it. Use it for reporting and audiences before optimizing ads on it.
- Confidence
- Medium
- Strongest proof
- 11 official rules
- 8 opinions or claims
- Sources
- 10 sources
- 19 statements
GOAT
M
New here? Take the 1-minute tour
Why this is the answer
3 reasons and our judgmentExisting standard events beat custom ones. Google says an existing event is always better because it fills its reports, and TikTok says custom events can't be used to optimize campaigns.
Your theme can publish custom events that every pixel reads (Shopify). But Shopify calls custom pixels an advanced feature it doesn't support, and warns that visitors can publish custom events from the browser console.
Optimizing on a custom conversion narrows volume further when conversions are scarce, argues Jon Loomer (Meta ads educator). Octane AI (Shopify quiz app maker) counters that a custom conversion is what lets Meta ads optimize for a quiz event.
Our judgment
- Check the quiz or form app's own integrations before building a custom event. Shopify says to review apps before writing a custom pixel, WeltPixel (Shopify tracking app maker) says most marketers don't use custom events, and Octane AI's quizzes already send their events to Google Analytics, Meta and Klaviyo.
- Keep optimizing on purchases or a standard event while a custom event is new or rare. Move to a Meta custom conversion only once it fires often enough, given Jon Loomer's warning, Octane AI's account of how a quiz event becomes optimizable and TikTok's rule against optimizing on custom events.
- Don't treat a custom event as a record of an order or a payment. Shopify warns that visitors can publish custom events from the browser console.
- Send custom events to Google Analytics through an app integration rather than a custom pixel. Google says its tags in a custom pixel are not supported, and Octane AI has Google Analytics events built in.
Our judgment, built from Shopify, WeltPixel, Octane AI, Jon Loomer, TikTok and Google: our reading of these sources, not a finding from any one of them.
What the sources say
19 statements from 10 sourcesShopify's docs say app pixels load in a strict sandbox and custom pixels in a lax one set up in the admin. Shopify lists standard events like page_viewed and lets you create your own custom events.
“If you would like additional events not covered by our list, you can create, publish and subscribe to your own custom events.”
Shopify's docs say apps and themes can publish custom customer events that all custom and app pixels can read, but not standard events, and custom events should carry a unique prefix.
“To avoid collision with standard events, custom events should be prefixed with the app name or a unique identifier.”
Shopify says custom pixels, such as one running Google Tag Manager, are unsupported and need JavaScript skills. It suggests checking for an app first and testing with the Shopify Pixel Helper.
“Adding and using custom pixels is unsupported by Shopify.”
Shopify says tracking pixels load through checkout and order pages, run in a sandbox that can't scrape email or phone, and in the EEA and UK fire only with the visitor's consent.
“Pixels automatically load on the Storefront, Checkout, Thank you page, and Order status page.”
Google Analytics says to check whether an automatic or recommended event already exists before creating a custom event, since those fill report dimensions and metrics automatically.
“It's always better to use an existing event because these events automatically populate dimensions and metrics that are used in your reports.”
Google recommends sending the generate_lead event when someone submits a form and sign_up when they create an account, with the prescribed parameters, for fuller reports.
“You should send recommended events with their prescribed parameters to get the most details in your reports and to benefit from future features and integrations as they become available.”
Google Analytics drops events over its limits: names up to 40 characters (longer key events are not reported as key events), 25 parameters per event, and parameter values up to 100 characters.
“Google Analytics doesn't log events, event parameters, and user properties that exceed the following limits.”
Meta Pixel tracks standard events, custom events and custom conversions, with up to 100 custom conversions per ad account. Since September 2025 Meta restricts ones that suggest health or financial status.
“The maximum number of custom conversions per ad account is 100.”
Google says running Google tags in Shopify's custom pixel is unsupported and may lose events or handle consent differently. It recommends setting up measurement in the Google & YouTube app instead.
“Running Google tags inside Shopify's custom pixel feature is not a supported implementation.”
Fudge, which sells a Shopify theme tool, says to add custom tracking as a custom pixel under Settings, Customer events, with consent set to Marketing for ad platforms or Analytics for GA4.
“Use custom pixels when: You need to track events the standard integration doesn’t cover (e.g., specific button clicks, scroll depth, custom funnel steps)”
Jon Loomer says that if you already lack conversion volume, optimizing for a custom conversion cuts it further; optimize for a standard event and add the custom conversion as a reporting column.
“If you're already struggling to get conversion volume, optimizing for a custom conversion will limit volume even more”
TikTok says custom web events serve reporting and audience building but cannot be used to optimize campaigns. Names must start with a letter and stay under 50 characters.
“Custom events are crucial for detailed reporting and audience creation, although they are not applicable for campaign optimization.”
Octane AI, which sells quiz software, says quiz events reach Meta as custom events that can't be optimized for directly unless you turn them into a custom conversion.
“Custom events can't be directly optimized for, but you can if you turn it into a custom conversion”
Nik Sharma says telemedicine brands that cannot send purchases to Meta often send quiz completion events as their conversion signal instead.
“telemedicine brands will use those events as signals back to meta because you can't actually collect the purchase as an event”
Octane AI, which sells quiz software, says its quizzes send Google Analytics events for views, starts, completions and each result page by default; answer events are added per quiz.
Octane AI, which sells quiz software, says its quiz data reaches Klaviyo as profile properties and a quiz completed event; the event can trigger a flow every time, while list flows run only once.
“Metric flows can be triggered every time a quiz is completed, but list based flows can only be entered once.”
Elevar, which sells server-side tracking, says a custom event request should give the event name, trigger logic, destinations and any mapping, such as sending new-customer purchases to TikTok as AddToWishlist.
“user interactions on your site that are important to your business but may not be captured by default in platforms like Google Analytics or Meta Ads”
WeltPixel, which sells a Shopify tracking app, says most marketers should use app pixels, and relays Google's warning that Tag Manager inside Shopify's custom pixel sandbox is unsupported and many triggers fail.
“Running Tag Manager inside of Shopify's custom pixel sandbox is not a supported implementation, and many core features and tags will not work as expected”
TikTok lists Purchase as the standard event when ordering and paying are the same step, sent via Pixel or Events API with currency and value, and says not to send sensitive visitor data.
“When a visitor makes a purchase. TikTok recommends using this event when placing an order and making a purchase are the same.”
In the full answer
For readers who sign in- What to do this week3 steps
- The numbers behind it3 figures from cited sources
- Where each source standsA chart placing each source on the question
- The strongest disagreementThe best case against the answer, from a cited source
- How sure we areWhat its confidence rests on, and what would change the answer