Using the same artboard across multiple canvases?

I might feel a little silly asking this question, but I’m currently having an issue where if I reference the same artboard within a website, it disappears as I transition from one section to the next.

Here is a link to the issue in action:

Sleepy Glow Hollows

The menu on the left opens URLs #animation, #editing and #animation via event triggers, where each respective section has it’s own canvas to call in the “SGH-Menu” artboard.

As mentioned, it disappears when switching sections but if you refresh that page then the menu reappears until you switch again.

Visual reference of the website editor, with the </> Code blocks containing the code for the Rive canvases.

I’ve attached a html file containing examples of these codeblocks.

example

It might be apparent that I’m not exactly a coder so if anyone could provide advice on this it would be greatly appreciated! 🙏