On the main form page we can put analytics code or some java script code. But can't place such code on the Thank You Page. When embedding an analytics pixel on such a page, the JS section would give the ability to track customers who reach the end of filling out the form and get to the Thank You page.