Skip to main content

Tracking your events with Meta Pixel

A Meta Pixel tells Meta (Facebook and Instagram) who viewed your events, started checkout and bought tickets, so you can measure your ads and show them to the right people. Viewcy fires your pixel for you, so you don't paste any code.

Written by Turjo Khan

Pixel

Where you add it

Fires on

Use it for

Your profile's pixel

Settings → Meta Pixel

Your profile page and every event's page, checkout and thank-you page

Your own ads, across all your events

To measure one of your own events on your own pixel, you don't need a second pixel: see Counting one event's sales on your pixel below.

Your profile's Meta Pixel

Add it once and every event you publish reports to it.

  1. In Meta Events Manager, open your pixel and copy its ID (a number like 1234567890123456). Meta calls a pixel a dataset. How to find it.

  2. In Viewcy, go to Settings, paste the ID into Meta Pixel and save.

Your pixel then receives these events:

Event

When it fires

PageView

Any of your pages opens: your profile, an event page, checkout

ViewContent

An event page opens

AddToCart

A buyer adds a ticket

InitiateCheckout

Checkout opens, including checkout embedded on your website

AddPaymentInfo

The buyer reaches the payment step

Purchase

The order completes, with its value and currency

Conversions API access token (optional). If you see this field under Meta Pixel, a token lets Viewcy also send your pixel's events from our server, so they count even when an ad blocker or a closed tab stops the browser. Generate it in Events Manager: your pixel → Settings → Set up direct integration → Set up without Dataset Quality API → Generate access token, then paste it in. Meta shows it once. Leave the field empty if Meta's own Conversions API is already connected to this pixel, or every event counts twice.

Counting one event's sales on your pixel

Your profile's pixel already tags every event with the event's ID, so a custom conversion in Meta can count one event's purchases on their own. Use it to run an ad for one show and see what it sold.

  1. Find the event's ID: it is the last part of the event's link. For viewcy.com/event/jazz_night, the ID is jazz_night.

  2. In Meta Events Manager, open Custom conversions and click Create custom conversion.

  3. Pick your pixel as the data source and Purchase as the event.

  4. Add a rule: Content IDs → contains → the event's ID.

  5. Name it after the event, then pick it as the conversion in your ad set.

Use Content IDs, not a URL rule. Purchases from checkout embedded on your website, and those our server sends, don't carry the thank-you page's URL, so a URL rule misses them.

A recurring event has one ID for all its dates, so the conversion counts every date. If you change the event's URL in its Settings, its ID changes too: update the rule.

Checking it works

  • In your browser: install Meta's Pixel Helper for Chrome, turn off any ad blocker, and open one of your event pages. It lists each pixel that fired: Viewcy's, yours, and the event's own if it has one.

  • In Meta: Events Manager → your pixel → Overview shows events arriving within about 20 minutes. Use Test events to watch them live.

  • Fewer events than visitors is normal. Nothing fires for a visitor who declines cookies or whose browser sends Global Privacy Control, and ad blockers stop the browser's events unless a Conversions API token is saved.

Questions

Will a sale count twice if the event's pixel is the same as mine? No. Viewcy fires a pixel once per event, even when both fields hold the same ID.

My website already has my pixel and I use the checkout button. Do I need to do anything? Don't fire InitiateCheckout or Purchase at the same pixel from your own page as well. Viewcy's checkout already sends them, so Meta would count each one twice.

I removed a pixel but still see events. Pages already open keep the old pixel until they reload. New visits stop firing it straight away.

Did this answer your question?