Yes, you are right theme file did not render on thank you page. But its about cookie when user come on store page and if there is an error in javascript code then cookie will not be created. But its rare, I have check everything on my end, all things are fine.
On my end most of my orders which are not tracked are created from Android Chrome Browser.