Set Up Server-Side Activity Tracking for Facebook

If you inject the Facebook pixel using B2C Commerce, you can set up server-side tracking for Facebook.

Note: The Commerce Cloud server-side activity tracking for Facebook is only applicable to instances that use B2C Commerce to inject the Facebook pixel. Commerce Cloud Activity Tracking for Facebook is not adaptable to third-party tracking solutions that implement custom events to Facebook. Because custom events implemented by a third-party tracking solutions are not know to B2C Commerce, using the b2c commerce server side tracking is not a like for like replacement to the third party tracking.

When server-side activity tracking for Facebook is enabled in Business Manager, B2C Commerce uses the existing Commerce Cloud Einstein tracking that collects shopper activities. Commerce Cloud Einstein data is converted to the Facebook format and sent server-side to Facebook.

Note: Before you can enable server-side activity tracking, you must:
  • Create a Facebook Business Manager Account
  • Enable Commerce Cloud Einstein tracking
  • Integrate your B2C Commerce instance with Facebook
  1. In Business Manager, select Merchant Tools > Site > Site Preferences > Facebook.
    The Facebook option is available only after you integrate your B2C Commerce instance with Facebook.
  2. Under Local Configuration, select Enable Server-side Activity Tracking using Conversions API.
  3. In Facebook Business Manager, navigate to Events manager, select the desired pixel, and click the Settings tab.
  4. Under Conversions API, select Generate access token, and copy the token.
  5. In Business Manager, navigate to Merchant Tools > Site > Site Preferences > Facebook, and paste the token in the Pixel Conversions API Token field.
  6. Click Submit.
    Note: After configuring, data pushed to Facebook is available through your Facebook Business Manager account.