firefox - Google Event Tracking Not Working in Safari inside jQuery -


For some reasons the code below will be fine in Chrome, but not in Safari or Firefox. Google Analytics code loads in the footer of the site This site is running on jQuery Mobile I'm not sure this is a real-time reporting report in Analytics where it will work only for Chrome, or all will not work together .

I also did the console.log inside the if statement and removed it properly in safari, so I know that is happening at that point. The tabbed menu $ (document) .on ('click', 'single-footer-menu a', (('Send', 'Event', ' Tab, 'tab', label below), function () {var label = $ (this) .text (); if (type off label! == 'undefined');}});

We are on Google Analytics Universal to clarify further. I used it as a reference.

As one more update, I used the tracking code and the event with Google Analytics Classic Has changed, and this is in Firefox / Safari It works better than a Google Analytics Universal problem.

Problem Solving: I used the Google Analytics Universal embed code to load GA, But used classic push events for page views and event tracking: _gaq.push (['_ trackPageview']);

Apparently you can use _gaq with Universal Analytics. After doing this, I did not have sporadic behavior and all this Was Aujhron and 100% in time for all devices.

Problem solved: Google Analytics Universal Embed Code, but used classic push events for page views and event tracking: _gaq.push (['trackPageview']);

Apparently you can still use _gaq with Universal Analytics. After doing this, I no longer had sporadic behavior and it used to work 100% of all browsers and all devices .

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -