pixels

Setting up pixels and tracking

Updated Mar 11, 2026

Setting Up Pixels and Tracking

Tracking pixels let you measure how customers interact with your store — from visiting a product page to completing a purchase. This data powers your ad campaigns on platforms like Facebook, Google, and TikTok, helping you reach the right audience and track your return on investment.

To get started, go to MarketingPixels & Tracking in your sidebar.


What Are Tracking Pixels?

A tracking pixel is a small piece of code that connects your store to an advertising platform. When a customer visits your store, the pixel sends data back to the platform so you can:

  • Track conversions — See how many ad clicks turn into purchases
  • Build audiences — Create custom audiences of people who visited your store or bought something
  • Optimize ads — Let the platform's algorithm find more people likely to buy from you
  • Measure ROI — Know exactly how much revenue your ads are generating

Supported Platforms

Strawlo supports tracking pixels from six major platforms:

Platform Pixel Type What You Need
Facebook / Meta Facebook Pixel Pixel ID
TikTok TikTok Pixel Pixel ID
Google Analytics GA4 Measurement ID (G-XXXXXXXXXX)
Snapchat Snap Pixel Pixel ID
Twitter / X Twitter Pixel Pixel ID
Pinterest Pinterest Tag Advertiser ID

You can add multiple pixels — even from the same platform — if you need to track for different ad accounts.


Adding a Tracking Pixel

  1. Go to MarketingPixels & Tracking
  2. Click Add Pixel
  3. Select the platform from the dropdown
  4. Enter your Pixel ID (see below for where to find it)
  5. Give it a name (optional — helps you identify it, e.g., "Main Facebook Pixel")
  6. Choose which events to track (see Events section below)
  7. Click Save

Your pixel is now active and tracking customers on your store.


Where to Find Your Pixel ID

Facebook / Meta Pixel

  1. Go to Meta Events Manager
  2. Click Connect Data SourcesWebMeta Pixel
  3. Name your pixel and click Create Pixel
  4. Your Pixel ID is the number shown (e.g., 1234567890123456)
  5. Copy this ID and paste it into Strawlo

If you already have a pixel, find it in Events Manager under Data Sources — the ID is shown below your pixel name.

TikTok Pixel

  1. Go to TikTok Ads Manager
  2. Navigate to AssetsEventsWeb Events
  3. Click Set Up Web EventsTikTok Pixel
  4. Create a pixel and copy the Pixel ID
  5. Paste it into Strawlo

Google Analytics (GA4)

  1. Go to Google Analytics
  2. Click the gear icon (Admin) at the bottom left
  3. Under your property, click Data StreamsWeb
  4. Your Measurement ID starts with G- (e.g., G-ABC123XYZ)
  5. Copy the full ID including the G- prefix and paste it into Strawlo

If you don't have a property yet, click Create Property and follow the setup wizard.

Snapchat Pixel

  1. Go to Snapchat Ads Manager
  2. Navigate to Events Manager
  3. Click New Event SourceSnap Pixel
  4. Create your pixel and copy the Pixel ID
  5. Paste it into Strawlo

Twitter / X Pixel

  1. Go to Twitter Ads Manager
  2. Navigate to ToolsEvents Manager
  3. Click Add Event SourceInstall with Pixel Code
  4. Copy your Pixel ID
  5. Paste it into Strawlo

Pinterest Tag

  1. Go to Pinterest Ads Manager
  2. Navigate to AdsConversions
  3. Click Create a Pinterest Tag
  4. Copy your Tag ID (also called Advertiser ID)
  5. Paste it into Strawlo

Tracked Events

Strawlo tracks five key e-commerce events. You can toggle each event on or off per pixel:

Event When It Fires Why It Matters
Page View Customer visits any page on your store Measures traffic and helps build website visitor audiences
View Content Customer views a product page Shows which products attract the most interest
Add to Cart Customer adds a product to their cart Identifies high-intent shoppers
Initiate Checkout Customer reaches the checkout page Tracks how many people start the buying process
Purchase Customer completes payment The most important event — measures actual conversions and revenue

Choosing Which Events to Track

For most merchants, we recommend enabling all five events. This gives you the most data for:

  • Retargeting — Show ads to people who added to cart but didn't buy
  • Lookalike audiences — Find new customers similar to your buyers
  • Conversion optimization — Let ad platforms optimize for purchases

If you only want basic tracking, enable at least Page View and Purchase.


Managing Your Pixels

Activating / Deactivating

Toggle any pixel on or off without deleting it. When deactivated, the pixel stops tracking but your configuration is preserved.

This is useful for:

  • Pausing tracking during store maintenance
  • Temporarily disabling a pixel while debugging
  • Keeping a pixel configured but inactive until you're ready to run ads

Editing a Pixel

Click on any pixel to update its ID, name, or event toggles. Changes take effect immediately.

Deleting a Pixel

Remove a pixel permanently. This stops all tracking for that pixel. Historical data in the ad platform is not affected — only future tracking stops.


How Pixels Work on Your Store

Once added, pixels run automatically on your storefront. Here's what happens behind the scenes:

  1. Customer visits your store → Page View event fires
  2. Customer views a product → View Content event fires with product details (name, price, currency)
  3. Customer adds to cart → Add to Cart event fires with product and quantity
  4. Customer reaches checkout → Initiate Checkout event fires with cart total
  5. Customer completes payment → Purchase event fires with order ID, total, and currency

All of this happens invisibly — customers don't see or notice any tracking. The data flows to your ad platforms in real time.


Plan Requirements

Pixel tracking is a Business+ exclusive feature. It lives under Visitors & Tracking, alongside your store's visitor analytics — both are part of Business+.


Dashboard Stats

The Pixels page shows three stats:

  • Active Pixels — How many pixels are currently tracking
  • Total Pixels — All pixels you've created (including inactive ones)
  • Unique Platforms — How many different platforms you're tracking on

Quick Tips

1. Set Up Pixels Before Running Ads

Add your pixels as soon as your store is live. The more data you collect before running ads, the better your ad platform can optimize.

2. Start with Facebook and Google

If you're only going to use two pixels, start with Facebook Pixel and Google Analytics. Facebook is great for social ads, and Google Analytics gives you detailed traffic insights.

3. Enable All Events

More data is always better. Enable all five events so your ad platforms have the fullest picture of your customer journey.

4. Test Your Pixel

After adding a pixel, visit your store and complete a test action. Then check your ad platform's events manager to confirm events are being received.

Facebook: Use the Meta Pixel Helper Chrome extension to verify your pixel is firing.

Google: Check the Realtime report in Google Analytics to see live visitors.

5. One Pixel Per Platform Is Usually Enough

Unless you're managing multiple ad accounts, you only need one pixel per platform.

6. Don't Share Your Pixel ID

Your pixel ID is tied to your ad account. Keep it private to prevent unauthorized tracking on your behalf.


Frequently Asked Questions

Do I need a separate account on each ad platform?

Yes. You need an account on the advertising platform (Facebook Ads Manager, TikTok Ads Manager, etc.) to create a pixel and view the tracking data.

Does adding a pixel slow down my store?

Pixels are loaded efficiently and have minimal impact on page speed. They're designed to be lightweight.

Can I use multiple pixels from the same platform?

Yes. For example, you can add two Facebook Pixels if you're tracking for different ad accounts or campaigns.

Will pixels track customers on the mobile app?

Pixels track customers on your storefront (the website your customers visit). They don't track activity within the Strawlo merchant app.

Can I manage pixels from the mobile app?

Yes! The Strawlo iOS app lets you add, edit, delete, and toggle pixels from your phone.

Do pixels work with custom domains?

Yes. Pixels work the same whether customers visit via your default subdomain (yourstore.strawlo.com) or a custom domain (yourstore.com).

What data is sent to ad platforms?

Strawlo sends standard e-commerce event data: product names, prices, currency, quantities, and order totals. No personal customer data (like email or phone) is sent through pixels.

I added a pixel but don't see data in my ad platform. What's wrong?

  • Make sure the pixel is active (not deactivated)
  • Double-check the Pixel ID is correct
  • Verify the events you want to track are toggled on
  • Wait a few minutes — data can take 5–15 minutes to appear
  • Visit your store and trigger an event (like viewing a product) to test

Need Help?

If you have questions about tracking pixels:

Was this article helpful?

Let us know so we can improve

Still need help?

Our support team is here for you — we usually reply within a few hours.