get_view_url( 'exactmetrics-settings-block-file-downloads', 'exactmetrics_network', 'engagement' ) : $this->get_view_url( 'exactmetrics-settings-block-file-downloads', 'exactmetrics_settings', 'engagement' );
$publishers_report_url = $this->get_view_url( 'exactmetrics-report-download-links', 'exactmetrics_reports', 'publishers' );
$notification['title'] = __( 'Add More File Extensions to Track as Downloads', 'google-analytics-dashboard-for-wp' );
// Translators: File extensions notification content
$notification['content'] = sprintf( __( 'By default, ExactMetrics automatically tracks downloads of the following file extensions: doc, pdf, ppt, zip, xls, docx, pptx, and xlsx. You can easily add or remove extensions from that list in the %sEngagement settings%s of ExactMetrics.
You can view your Top Downloads report directly in the ExactMetrics %sPublishers report%s.', 'google-analytics-dashboard-for-wp' ), '', '', '', '' );
$notification['btns'] = array(
"add_more_file_extensions" => array(
'url' => $settings_url,
'text' => __( 'Add File Extensions', 'google-analytics-dashboard-for-wp' )
),
);
return $notification;
}
return false;
}
}
// initialize the class
new ExactMetrics_Notification_To_Add_More_File_Extensions();