Best way to put clarity and fb pixels?

It’s been more than week I am trying to figure out the way to connect clarity without losing the website performance.

I tried to add with clarity plugins but it really crashed the overall performance, I also tried with placing code in header by using wp code, I am not a technical personal but recently I hire someone to improve my performance score and he did good job but now when I am trying to add pixels and clarity code the speed is getting hurt.

For the pixel I am using pixelyousite. Please share any method so I can achieve the result without losing the speed.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer