Woocommerce does not use parmalinks from template pages?

I created the template pages for the cart and checkout. Does anyone know why woocommerce uses its own parmlinks instead of the ones on the templates? For example uses “/checkout/” instead of “/template/custom-checkout/” which I made. Everything works fine and I it shows the same on both urls (I do not how). I’m asking because I want to put the Google Ads code on the checkout page (in head). I don’t know to do it because I know only to put code on my checkout page with url tempolate/custom-checkout.