Forum Replies Created

Viewing 2 replies - 181 through 182 (of 182 total)
  • Palpatine1976

    (@palpatine1976)

    I’m seeing the same error as dthorpe. I think it’s because the variable analyticsFileTypes is var’d in the core Analytics snippet but subsequently called in the externaltracking.js.

    This means if the core code isn’t being included (as on the login screen) the externaltracking.js IS included without the parent code – so it throws the ‘not defined’ error.

    My workaround was to add a function called via add_action(‘login_head’) to add a .js file (just for the login page) that simply includes this line:

    var analyticsFileTypes = “”;

    This is inline so should fire before the jquery onload()

    Seems to work ok… would appreciate feedback. Plugin author could also just test for tracking before writing the externaltracking.js file ??

    Palpatine1976

    (@palpatine1976)

    Great fix eglescout – looks like that the_title() filter was indeed overriding the native nav menu title() calls. Hopefully it’ll get rolled into the next version of Subscribe2.

    I tried to comment on the version post on the plugin site – but comments are disabled ??

Viewing 2 replies - 181 through 182 (of 182 total)