Add Google Analytics or a Meta Pixel to your store
Measure visits and ads with your own Google Analytics 4 property or Meta (Facebook and Instagram) Pixel: paste the ID, Bakebug adds the tag for customers who allow it.
Use your own Google Analytics 4 property or Meta (Facebook and Instagram) Pixel to measure visits to your store and the ads you run. You paste only the ID, never code: Bakebug adds the tag for you, asks your customers first and keeps it off your checkout.
Add an ID
- Go to Business, card Analytics and Ads (below Social Media Links).
- Paste your ID into Google Analytics Measurement ID (Optional), Meta Pixel ID (Optional), or both.
- Google Analytics: in Google Analytics, open Admin, then Data streams, then your web stream, and copy the Measurement ID. It starts with G-, for example G-ABC123XYZ9 (G- and then 4 to 12 letters and numbers; lower case is fine).
- Meta Pixel: in Meta Events Manager, open Data sources, then your pixel, and copy its ID: 10 to 20 digits.
- Select Save. Your store starts using it within about 90 seconds.
If what you pasted can't be used, Save says why and nothing on the page is saved. For example: "Paste only the Measurement ID (it starts with G-), not code.", "Use your Google Analytics 4 Measurement ID, which starts with G-. Tag Manager (GTM-), Universal Analytics (UA-) and Google Ads (AW-) IDs aren't supported." or "Enter a Pixel ID of 10 to 20 digits, numbers only." Google Tag Manager containers and other pasted code aren't supported, so no other tags can run on your store.
When it loads
- Only for customers who allow it. Your Google Analytics loads once the customer allows Analytics (Optional) on your store; your Meta Pixel once they allow Marketing (Optional). Until they choose, nothing is sent to Google or Meta. A customer's browser that sends Global Privacy Control keeps both off.
- Only on your public pages: your home page, Shop and product pages, About, Reviews, Presales and Events. Never at checkout, and never on order, quote, payment, gift card or account pages, the Contact, FAQ, Gallery and Availability pages, your custom pages, or a page whose address has a search or filter in it (links with utm_ tags are fine).
- On your custom domain and in your installed store app too.
What is sent
- Google Analytics: page views, with the same privacy settings Bakebug uses for its own analytics: Google signals and ad personalization off, and ad storage, ad user data and ad personalization denied.
- Meta Pixel: a PageView for each public page, and a ViewContent with the product's ID on product pages. Nothing else: no purchases, and no names, emails or phone numbers. Bakebug turns off the Pixel's automatic event setup. In Meta Events Manager, leave Automatic advanced matching off for this pixel, so Meta doesn't read what customers type on your pages.
What customers see
The Your Privacy Choices banner on your store names your store and the tools you added, with the same buttons as before: Customize, Reject Optional and Accept All. Customize adds Marketing (Optional) when you have a Pixel. Their choice for your tools applies to your store only, so a customer who already chose on another Bakebug store is asked once on yours. With a Pixel, the Cookie Settings link in your footer is called Your Privacy Choices. See The privacy (cookie) banner on your store.
Your numbers will be lower than your visits
Only customers who allow it are measured, and ad blockers stop some more. Purchases aren't sent to Meta, so ads can't be optimized for sales from your store's checkout.
Your responsibilities
You own your Google Analytics and Meta accounts and decide how their data is used. You're responsible for following Google's and Meta's terms and the privacy and advertising laws that apply to you, including any privacy notice those laws ask you to give (see section 4 of the Terms of Service). Don't use these tools to collect health or other sensitive information. Bakebug asks your customers for consent before loading your tags, but adding an ID doesn't by itself meet every legal duty you may have.
Remove one
Clear the field and select Save. Your store stops loading it within about 90 seconds; customers' earlier choices for your store are kept until they expire.
Still need help?
Email support@bakebug.com with your store name and order number (if it's about an order), or ask other bakers in the Bakebug Community.