As I can see from the example you’ve shared, there is not any redirection set, it is just preloader finishing the animation and showing the home page afterwards.
as for the Velo and page id here is the example: https://www.wix.com/velo/reference/$w/page/id
As for the custom code, you can just use preselect the pages where the code should be applied.