1. Installation and basic activation
- Upload the app in your Shopware administration under Extensions / Apps and install it.
- Go to the app's configuration.
- Add your required Facebook Pixel ID in the appropriate field.
- Activate the app.
2. Setting up the conversion access token (for the conversion API)
To use the Facebook Conversions API for more reliable, server-side tracking, you need an access token.
- Generate the Facebook Pixel Conversion Access Token. The most up-to-date and detailed instructions for generating the token can be found directly in the Facebook Developer Documentation: https://developers.facebook.com/docs/marketing-api/conversions-api/get-started/?locale=de_DE#use-your-own-app
- Copy the generated access token and paste it into the Conversion Access Token field in the plugin configuration.
3. Integration with your external cookie consent manager (expert mode)
Depending on which external Cookie Consent Manager (CCM) you use, the value of the **data attribute** must be configured correctly so that the Facebook pixel is only loaded after consent has been given.
- If you leave the field blank, we use the default values:
- For User CentricsThe default value is „Facebook Pixel“.
- For Cookie BotThe default value is „marketing“.
- For manual configuration (expert mode): Follow the specific instructions for your CCM to determine the correct value and enter it in the panel of experts one.
4. Provide opt-out link for Facebook Pixel
To give your users the option to specifically disable tracking by the Facebook Pixel (opt-out), our plugin supports a simple HTML code.
Embed the following HTML code on any page of your shop (e.g. in the Privacy policy):
<code><a onclick="javascript:fbqOptout();" >Disable Facebook Pixel Tracking for this website here</a>
After clicking on this link, tracking will be deactivated for the user.
