Set up a Meta Pixel in CommentSold to track website shopper activity and measure conversions from your Meta ads. A Meta Pixel collects data on actions such as product views, add-to-cart activity, and purchases, helping you build targeted audiences and retarget shoppers who visit your webstore but don't make a purchase. Follow this guide to create your Pixel, configure Conversions API (CAPI), add your Pixel ID and access token to CommentSold, and test event tracking.
All you need to get started is to:
- Enable your CommentSold webstore.
- Set up your custom domain in CommentSold.
- Verify your custom domain on Facebook.
- Create a Meta Business Manager account.
Use the table of contents below to navigate to specific sections of this article:
- Create a Meta Pixel
- Set Up Conversions API to Connect Website Activity
- Add Your Pixel ID and API Token to CommentSold
- Test The Events
- What's Next?
- FAQs
Step 1: Create a Meta Pixel
Pixels live in Meta Events Manager because they track shopper events (e.g., add to cart events, purchase events, etc.). Head there for the first step.
- Navigate to your Facebook page and select Meta Business Suite from the side menu.
- Select All Tools in the side menu of your Meta Business Suite.
- In the Advertise section, select Events Manager.
- Select Connect Data Sources in the side menu.
- In the pop-up, select Web, then Connect.
- Enter a name for the Pixel in the Name your Pixel field, then select Create.
- Enter your verified domain URL, then select Check, then Next.
- On Select a setup page, select Do it yourself, then select Next.
- On Choose how to connect to your website, select Meta and Conversions API, then select Next.
Step 2: Set Up Conversions API to Connect Website Activity
Next, you’ll need to set up the Conversions API to connect website activity.
- On Select how you’d like to set up Conversions API, select Set up manually, then select Next.
- Select Continue in the bottom-right corner of the page.
- Select your desired Events, then select Continue.
- Note that you only need to select one event to continue, as the CS API does not require all events to be selected.
- Select the required Event Detail Parameters, then select Continue.
- Note that you can continue without selecting an Event Detail Parameter.
- Review the setup and then select Continue.
- Select Finish.
Step 3: Add Your Pixel ID and API Token to CommentSold
Next, you'll need to add your Meta Pixel ID and API Token to CommentSold. Think of this as adding Meta's Pixel tracking code to your CommentSold website—it's a key step that allows the Pixel to access website events.
- Locate and select your newly created Pixel in the column on the left side of the page.
- In a new tab, open your CommentSold account, hover over the side menu of your CommentSold dashboard, then select Site Creator.
- Select Settings at the top of your Site Creator.
- Select and expand the Marketing section in the side menu of the Site Creator.
- Select Ad Conversion Channels.
- Select Meta.
- Select and expand the Facebook Pixel and CAPI section.
- Go back to the Facebook Data Sources page and select the Settings tab on the right side of the page.
- Locate and copy your Dataset ID. This is your Pixel ID. Simply select the ID to automatically copy it to your device and then paste it in the Facebook Pixel ID field in CommentSold.
- Go back to the Facebook Data Sources page, locate Set up direct integration and select Generate access token.
- Copy your Access token. Simply select the token to automatically copy it to your device and then paste it in the Conversion API Access Token field in CommentSold.
- Select Update.
- Once done, review the changes and select Publish at the top right corner of the page.
Step 4: Test The Events
Next, you’ll want to test that your Pixel is working and tracking events. You can do this through the Test Events option.
- Go back to the Facebook Data Sources page and select the Test Events tab on the top.
- Expand Confirm your website’s events are set up correctly tab.
- Enter your Website URL and select Open website.
- Perform a test behavior of shopper on the website (e.g., view a product, add a product to your cart, etc.).
- Go back to the Facebook Data Sources page and verify the activity appears.
What's Next?
- Facebook Ads with CommentSold. Learn how to create Meta ads for your webstore and mobile app.
- Retarget Engaged Instagram Users with Ads. Learn how to create an audience of users who have engaged with your Instagram account so you can target them with ads.
- Drive Mobile App Downloads with Deep Link Redirects. Learn how to drive engaged customers to products in your mobile app (or to download the app itself) using ad links.
FAQs
What is a Meta Pixel?
A Meta Pixel is a tracking tool that collects data about shopper actions on your website, such as product views, add-to-cart activity, and purchases. You can use this data to measure ad performance and create targeted audiences for future campaigns.
Why should I install a Meta Pixel on my CommentSold webstore?
A Meta Pixel helps you understand how shoppers interact with your webstore after clicking your Meta ads. You can use the collected event data to build audiences, including shoppers who visited your webstore but didn't complete a purchase.
What do I need before setting up a Meta Pixel?
Before you begin, make sure you have:
- An enabled CommentSold webstore.
- A custom domain connected to CommentSold.
- A custom domain verified with Facebook.
- A Meta Business Manager account.
Can I set up a Meta Pixel before running ads?
Yes. The article recommends setting up your Meta Pixel even if you're not ready to run Meta ads. This allows it to start collecting event data that you can use when you launch campaigns.
Where do I create a Meta Pixel?
Open Meta Events Manager through Meta Business Suite. Select All Tools > Events Manager > Connect Data Sources, choose Web, and follow the setup prompts to create your Pixel.
Do I need to configure Conversions API when creating my Meta Pixel?
Yes. This setup guide uses both Meta Pixel and Conversions API to connect website activity with Meta. During setup, choose Meta and Conversions API, then select Set up manually when prompted.
Do I need to select every event and event detail parameter during Conversions API setup?
No. You only need to select one event to continue because the CommentSold API does not require every event to be selected. You can also continue without selecting an Event Detail Parameter.
Where do I find my Meta Pixel ID?
In Meta Events Manager, select your Pixel and open the Settings tab. Locate and copy the Dataset ID, which is your Pixel ID.
Where do I add my Meta Pixel ID and Conversions API access token in CommentSold?
Go to Site Creator > Settings > Marketing > Ad Conversion Channels > Meta in your CommentSold dashboard. Expand the Facebook Pixel and CAPI section, enter your Dataset ID in the Facebook Pixel ID field, and paste your access token into the Conversion API Access Token field. Select Update, review your changes, and select Publish.
Where do I generate my Conversions API access token?
In Meta Events Manager, select your Pixel and open the Settings tab. Find Set up direct integration and select Generate access token. Copy the generated token and add it to CommentSold.
How do I test whether my Meta Pixel is tracking website activity?
In Meta Events Manager, open your Pixel and select the Test Events tab. Expand the website event testing section, enter your website URL, and select Open website. Perform shopper actions such as viewing a product or adding it to your cart, then return to Events Manager to verify that the events appear.
What should I do if my test events don't appear in Meta Events Manager?
First, confirm that your Pixel ID and Conversions API access token are entered correctly in CommentSold and that your changes have been published. Then repeat the test using your website URL and check whether the shopper activity appears in Meta Events Manager.