title = __('Google Analytics', 'notificationx'); $this->module_title = __('Google Analytics', 'notificationx'); } /** * Get data for Google_Analytics Extension. * * @param array $args Settings arguments. * @return array */ public function get_data( $args = array() ){ return 'Hello From Google Analytics'; } public function doc(){ /* translators: %1$s: signed in to Google Analytics site link URL, %2$s: documentation link URL, %3$s: Watch video tutorial link URL, %4$s: Integration with Google Analytics link URL */ return sprintf(__('
Make sure that you have signed in to Google Analytics site, to use its campaign & page analytics data. For further assistance, check out our step by step documentation.
🎦 Watch video tutorial to learn quickly
👉NotificationX Integration with Google Analytics
', 'notificationx'), 'https://analytics.google.com/analytics/web/', 'https://notificationx.com/docs/google-analytics/', 'https://www.youtube.com/watch?v=zZPF5nJD4mo', 'https://notificationx.com/docs/google-analytics/' ); } }