Need help with conversion tracking when new site is created in multisite

I’m trying to integrate Facebook and Google Adwords conversion tracking code in my site so I can track conversions when users create a site in my multisite using Pro Sites.

I had a live chat where it was suggested to use the wpmu_new_blog action in an mu-plugin for this, but I really do not know how I can include the conversion tracking codes in a custom function.

Can you help please?

https://codex.wordpress.org/Plugin_API/Action_Reference/wpmu_new_blog