Our dev team noticed that we had accidentally installed the Facebook pixel twice on our site via Google Tag Manager: once from Facebook natively, and once from Hubspot's tracking code. They are essentially asking, which piece of code should we keep? Both pieces of code contain the Facebook pixel, but one piece of code comes from HubSpot, and one comes natively from Facebook.
We don’t need or want two instances of the Facebook pixel, so the question is: is there any benefit to installing the Facebook pixel within HubSpot’s code versus installing it from Facebook’s code?
If we were to remove Facebook's version of the code, our concern is losing the conversion event tracking that we set up manually using Facebook's method. I understand that if we don't have the HubSpot tracking code on our website, we will lose some website tracking in HubSpot so I wouldn't want to remove that, but it seemed like they were toying with the idea of editing the HubSpot code to remove "facebook.js" since we already have the Facebook pixel installed natively. What do you think?