You can add meta pixels and g-clids into the studio using the code injection feature. This lets you add code to the header of the studio.
Here is a longer thread on adding header code. You can find this under Pages > Content on the very bottom. I have included a screenshot of the relevant UI for your convenient reference.