• Resolved Toni Ginard

    (@toniginard)


    Hi!

    We have found a bug involving the Google Analytics Stats widget: when the option “Support us” is set to 0 (No) the widget breaks the visualization in mobile devices.

    After some debugging we found that there is a missing </div>. Desktop browsers can deal with it, but mobile devices can’t. The fix we implemented is to add the following code in file google-analyticator/google-analytics-stats-widget.php after line 202 (version 6.4.9.6 of the plugin):

    else {
    echo ‘</div>’;
    }

    The problem is that the HTML code used to add the image “Powered by” also adds a closing div, that is not added when the user decide not to show that image.

    We would appreciate if this bug is fixed in future versions of the plugin.

    Best wishes,

    Toni Ginard

    https://ww.wp.xz.cn/plugins/google-analyticator/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Google Analytics Stats widget breaks visualization in mobile devices’ is closed to new replies.