Installing Facebook Pixels




Steps

1. Open up a Facebook Business account (https://www.facebook.com/business/learn/set-up-facebook-page)


2. Open up an Ads account in Facebook (https://www.facebook.com/business/products/ads)

   You will be assigned one FB Pixel per Ad Account

   It will look something like this.


4. Click the Ads Manager menu


5. Click All Tools


6. Click Pixels (under Assets)


7. Follow these Facebook instructions for creating a pixel


8. In your Facebook Ads Manager, click Set up


9. Click Manually Install the Code Yourself



10. Scroll down to the section "Copy the entire pixel code and paste it in the website header"


11. Copy to clipboard


12. Log into your T-REX store admin (yourdomain.com/wp-admin)


13. Click T-REX


14. Click Business Settings


15. Scroll down to the Page View Tracking Code section


16. Paste the pixel code into all 3 boxes.


17. Go back to your Facebook Business Manager


18. Scroll down on the box and click Continue


19. Scroll down to the section where you can view the different types of events you can track.


20. Click Purchase


21. Scroll down to the "Copy purchase event code" and Copy to Clipboard


22. In your T-REX > Business Settings, scroll down to Conversion Pixel Tracking Code


23. Put your cursor at the end of the existing code


24. Hit Enter once


25. Paste the new code snippet at the bottom of the existing pixel code (watch video 3:00)



26. Go back to the Facebook Ads Manager


27. Find the Add to Cart event code and click it to toggle it on.


28. Scroll down to the code snippet and Copy to Clipboard.


29.  In your T-REX > Business Settings, scroll down to Cart Tracking Code


23. Put your cursor at the end of the existing code


24. Hit Enter once


25. Paste the new code snippet at the bottom of the existing pixel code (watch video 6:45)




26. Save Changes


That's it for Business Settings.


Now you need to put it in one more place.


27. Scroll back up to Page View Tracking Code


28. Select all code and copy


29. Scroll down and click Divi > Theme Options


30. Click the Integration tab


31. Scroll down to the "Add code to the < head > of your blog" section


32. Paste the pixel code into that box.


33. Scroll down and click Save Changes



You can test the pixel using the Facebook Pixel Helper - Chrome extension

https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en


And more information about Using Facebook Pixel Helper