Add Facebook Pixel In Cart Thank You Page

I want to be able to add a facebook pixel into the thank you page after an order has been completed.

I found these instructions:

CS-Cart Documentation — CS-Cart 4.15.x documentation

But I am not sure if that is the right file I have to make? Also, when I make the file, so I just the facebook code? or do I have to add some code before or after it?

Thanks in advance.

I think I got it all sorted. I went to the design layouts and edited the location.

could you please explain were?

could you please explain were?

Please check