Hacker News new | ask | show | jobs
by pretty_dumm_guy 2251 days ago
Hi,

I had trouble with url redirection. So I checked and found this method

        var onTalkClick = function(url, vhost, vid, rindex) {
          gtag('event', 'view_item', {
            'event_category': vhost,
            'event_label': vid,
            'value': rindex,
            'transport_type': 'beacon',
            'event_callback': function(){document.location = url;}
          });
          return false;
        }
This method doesn't seem to be working as intended on firefox.