I’d recommend including something like this as an Action Sequence in the Master Page so you can re-use it across all your pages. You could incorporate a “View This Page in V1” feature by having an Action Sequence that uses /{{$Param.Id}} but you’d have to make them custom if clicking to a different page altogether