How do I create a 'Thank You' page URL for tracking conversions?

Need the same info. Right now I’m trying to set up a funnel on Hotjar. Need to drop a JS Snippet in to fire goal. You’d need the same snippet to set up goals in GA or Tag manager though.