As going to a link stops the current site from working, I'd like to combine the "Go to URL" with a Google Analytics send command. I haven't found a way yet to combine the two in one Javascript command, so I'm wondering if there is a way to have more than one Javascript command in a "Go to URL action"!
What I would like to achieve is
Code: Select all
javascript:ga('send', 'event', 'Panoramas', me.player.userdata.title, 'My Event Text', 1); window.open("https://MyURL", "_blank");
Is there a way to either have more than one Javascript command in "Go to URL", or to combine the real "Go to URL" with a Google Analytics send?
Thanks!!!
Harald