Browsing hooks for feature: Stats

    jetpack_stats_dashboard_widget_show_to_user

    hook (filter): Filter whether the Jetpack Stats dashboard widget should be shown to the current user.<p>By default, the dashboard widget is shown to users who can view_stats.</p>

    Source: class-jetpack-stats-dashboard-widget.php:51

    jetpack_stats_footer_amp_data

    hook (filter): Filter the parameters added to the AMP pixel tracking code.

    Source: modules/stats.php:286

    jetpack_stats_footer_js_data

    hook (filter): Filter the parameters added to the JavaScript stats tracking code.

    Source: modules/stats.php:299

    jetpack_stats_excluded_ips

    hook (filter): Allow excluding specific IP addresses from being tracked in Stats.<p>Note: for this to work well, visitors' IP addresses must:</p> <ul> <li>be stored and returned properly in IP address headers;</li> <li>not be impacted by any caching setup on your site.</li> </ul>

    Source: modules/stats.php:213

    jetpack_honor_dnt_header_for_stats

    hook (filter): Filter the option which decides honor DNT or not.

    Source: modules/stats.php:109

    stats_array

    hook (filter): Filter the options added to the JavaScript Stats tracking code.

    Source: modules/stats.php:468

    jetpack_static_url

    hook (filter): Sets external resource URL.

    Source: modules/stats.php:519