BSF_Analytics
BSF analytics
Source
File: admin/bsf-analytics/class-bsf-analytics.php
Methods
- __construct — Setup actions, load files.
- add_analytics_option_callback — Analytics option add callback.
- add_option_to_network — Save analytics option to network.
- enqueue_assets — Enqueue Scripts.
- get_analytics_install_time — Set analytics installed time in option.
- get_analytics_url — BSF Analytics URL
- get_api_url — Get API URL for sending analytics.
- handle_optin_optout — Process usage tracking opt out.
- includes — Load analytics stat class.
- is_tracking_enabled — Check if usage tracking is enabled.
- is_white_label_enabled — Check if WHITE label is enabled for BSF products.
- maybe_track_analytics — Send analaytics track event if tracking is enabled.
- optin — Opt in to usage tracking.
- option_notice — Display admin notice for usage tracking.
- optout — Opt out to usage tracking.
- register_usage_tracking_setting — Register usage tracking option in General settings page.
- render_settings_field_html — Print settings field HTML.
- sanitize_option — Sanitize Callback Function
- send — Send analytics API call.
- set_actions — Setup actions for admin notice style and analytics cron event.
- update_analytics_option_callback — Schedule/unschedule cron event on updation of option.