Update URL Fragment on Tour Node change

Q&A about the latest versions
Post Reply
LProbert
Posts: 56
Joined: Thu May 21, 2020 11:53 am

Tue Jun 30, 2020 4:47 pm

I want to use the Custom Node ID to create URL fragments, and this works one way, but I also need the URL to update when a node is selected or I move to another tour node through any other method.

I need the URL to update so I can assign Google Tag Manager triggers to the fragments.

Any ideas?
LProbert
Posts: 56
Joined: Thu May 21, 2020 11:53 am

Tue Jun 30, 2020 9:27 pm

This works if you set it as an action on the node skin:

Code: Select all

javascript:
let nodeTitle=pano.getNodeTitle();
window.location.hash = nodeTitle;
User avatar
Hopki
Gnome
Posts: 10354
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Wed Jul 01, 2020 7:21 pm

Hi LProbert,
I need to check my understanding of what it is you want.
At the moment you just see the tour URL, all not changes do not get translated to the URL,
If so please see the attached skin.
This updated the address bar and shows different fragments.
Regards,
Attachments
ShowURL.ggsk
(807 Bytes) Downloaded 2 times
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply