Meta Pixel Integration
Plan required: Pro or higher.
The Meta Pixel (formerly Facebook Pixel) measures how well your Facebook and Instagram ads work. When you connect your pixel to SweepWidget, it records views and entries on your giveaway so you can track conversions and build audiences.
What You’ll Track with Meta Pixel
Once integrated, the Meta Pixel tracks:
- Page views – every time someone views your giveaway (PageView)
- Giveaway entries – when an entrant submits the entry form successfully (Lead)
- Other giveaway activity – entry attempts, bonus actions, refreshes and logouts, as custom events
Where the pixel runs
The pixel loads on SweepWidget’s giveaway page. On the hosted landing page that is sweepwidget.com/c/…. On an embedded giveaway it loads inside the giveaway iframe, which is also served from sweepwidget.com. Events therefore show the sweepwidget.com address, not your website page. A pixel installed on your own website does not receive these events.
Setting Up Meta Pixel Integration
Step 1: Open the Meta Pixel settings
In your SweepWidget dashboard, click API Integrations in the left menu. Then click Meta Pixel (Facebook).


Step 2: Enter Your Pixel ID
In the Pixel ID field, enter your Meta Pixel ID (a 15-16 digit number like 123456789012345).

Click Save Changes.
Important: only enter your Pixel ID (numbers only), not the pixel code script.
Finding Your Meta Pixel ID
Step 1: Access Meta Events Manager
Go to Meta Events Manager and sign in with your Facebook account.
Step 2: Select or Create a Pixel
If you already have a Meta Pixel, select it from the Data Sources list. If not, create one by clicking Connect Data Sources and then Web > Meta Pixel > Connect.
Step 3: Find Your Pixel ID
- Click Settings in the left sidebar
- Your Pixel ID is shown at the top (a 15-16 digit number)
- Copy it and paste it into the SweepWidget integration field
Viewing Your Results in Meta Events Manager
Real-Time Activity
- In Meta Events Manager, select your pixel
- Click Test Events in the left sidebar
- You’ll see events as people use your giveaway
Event Analytics
- Go to Overview in your pixel dashboard to see event counts and trends
- Click Activity for a detailed breakdown
Note: test events appear immediately; standard reports can take a few minutes.
Events Tracked by SweepWidget
| Event Name | Type | When It Fires | Parameters |
|---|---|---|---|
| PageView | Standard | Giveaway page loads | – |
| Lead | Standard | Entrant submits the entry form successfully | name, email, birthday, country_code |
| Entergiveaway | Custom | Every entry-form attempt, including blocked ones | event_label (e.g. “Enter giveaway success”, “Enter giveaway error: duplicate IP address”) |
| Insertentry | Custom | Entrant completes a bonus entry method, or a bonus action is blocked | event_label (e.g. “Insert entry: visit_a_page”) |
| Reloadwidget | Custom | Widget is refreshed | event_label |
| Logout | Custom | Entrant logs out | event_label |
The text after “Insert entry: ” is SweepWidget’s internal name for the entry method.
Using Meta Pixel Data for Advertising
Create Custom Audiences
- People who viewed your giveaway page (PageView)
- People who entered your giveaway (Lead)
- People who completed bonus actions (custom event Insertentry)
Optimize Ad Delivery
Use the Lead event as your conversion event to optimize campaigns for giveaway entries.
Create Lookalike Audiences
Build lookalike audiences from people who entered your giveaway (Lead).
Troubleshooting
Events Not Appearing?
- Check Test Events in Events Manager for immediate feedback.
- Verify Pixel ID: the correct 15-16 digit Pixel ID, numbers only, then click Save Changes.
- Check browser extensions: ad blockers and privacy extensions can block tracking. Test in an incognito window.
- Test your giveaway: visit your live giveaway page, enter, then check Test Events.
- Custom events missing: if Remove SweepWidget Google Analytics tracking is ticked on the giveaway’s Security tab, the custom events (Entergiveaway, Insertentry, Reloadwidget, Logout) are not sent. PageView and Lead still are.
- Pixel Status: in Events Manager, check that your pixel shows as Active.
Pixel Shows as Inactive?
A pixel shows as inactive when no events were received in the last 7 days. Visit your giveaway page to trigger a PageView.
Best Practices
- Use event data to see which entry methods drive the most engagement.
- Create audiences as soon as you launch your giveaway.
- Make sure your privacy policy discloses the use of the Meta Pixel.
- SweepWidget sends browser pixel events only. It does not send Meta Conversions API (server-side) events.
Need Help?
- Contact SweepWidget support through the Contact Us page in your dashboard
- Visit Meta’s Pixel Setup Guide for help creating your pixel