• Since using this plugin I have an issue with my f2a login.

    As I have turned GA tracking off for logged in users (ie. Administrator in my case) the plugin disables the loading of the GA libs after I give my login credentials, but before the 2FA code is given.
    This results in a javascript error “tracking-analytics-events.js?ver=5.4.4:1 Uncaught ReferenceError: ga is not defined”, which in turn disables the button on the 2FA screen.
    Hence, I can click as much as I want but it’s stuck.

    Solutions would be to disable the tracking only after the completed login or to make sure the tracking-analytics-event.js is only loaded when the analytics tracking is also loaded.

    Thanks! Your fork was a life-saver!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tomdude

    (@tomdude)

    In version 5.4.5 I added a check to see if ga exists. That should solve the problem. Please test and let me know.

    Thread Starter jondor

    (@jondor)

    Hi,
    Thanks! Regretfully it doesn’t seem to help:

    Uncaught ReferenceError: ga is not defined
    at gainwp_send_event (tracking-analytics-events.min.js?ver=5.4.5:1)
    at HTMLInputElement.<anonymous> (tracking-analytics-events.min.js?ver=5.4.5:1)
    at HTMLInputElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLInputElement.r.handle (jquery.js?ver=1.12.4-wp:3)

    tracking-analytics-events.min.js?ver=5.4.5:1 Uncaught ReferenceError: ga is not defined
    at gainwp_send_event (tracking-analytics-events.min.js?ver=5.4.5:1)
    at HTMLInputElement.<anonymous> (tracking-analytics-events.min.js?ver=5.4.5:1)
    at HTMLInputElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLInputElement.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
    at HTMLInputElement.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at a.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘F2A Login issue’ is closed to new replies.