Class Wcap_Dashboard_Report_Action
It will show the dashboard data.
Located at includes/classes/class_wcap_dashboard_report_action.php
Methods summary
public
|
#
wcap_get_all_reports( string $selected_data_range, string $start_date, string $end_date )
It will generate all the reports for the Dashboard. It will show charts, ATC stats, Template stats. |
public static
|
#
wcap_display_atc_states( string $wcap_ac_id_range )
It will display the Add To Cart popup modal stats. |
public
|
#
wcap_get_total_vs_recovered_revenue( integer|string $wcap_month_recovered_cart_amount )
It will display the recovered cart amount on the Total vs Recovered revenue chart. |
public
|
#
wcap_get_abandoned_vs_recovered_number( integer|string $wcap_month_recovered_cart_count )
It will display the recovered carts count on the Abandoned vs Recovered carts chart. |
public
|
#
wcap_get_total_vs_abandoned_number( integer|string $wcap_month_abandoned_cart_count )
It will display the Abandoned carts count on the Total vs Abandoned carts chart. |
public
|
#
wcap_get_total_vs_recovered_revenue_ratio( integer|string $ratio_of_recovered )
It will display the ratio of total and recovered amount on the Total vs Recovered chart. |
public
|
#
wcap_get_abandoned_vs_recovered_number_ratio( integer|string $ratio_of_recovered_number )
It will display the ratio of abandoned and recovered count on the Abandoned vs Recovered chart. |
public
|
#
wcap_get_total_vs_abandoned_number_ratio( integer|string $ratio_of_total_vs_abandoned )
It will display the ratio of total and abandoned count on the Total vs Abandoned chart. |
public
|
|
public
|
#
wcap_get_total_email_sent( integer|string $wcap_sent_email_count )
It will display the total sent email count on the Send email chart. |
public
|
#
wcap_get_total_email_sent_ratio( integer|string $wcap_sent_email_count )
It will display the ration of the sent email on the Sent email chart. |
public
|
#
wcap_get_email_opened( integer|string $wcap_email_opened )
It will display the open email on the Email opened vs Email not opened chart. |
public
|
#
wcap_abandoned_email_opened_ratio( integer|string $wcap_email_opened_count, integer|string $wcap_email_sent_count )
It will display the ration open email on the Email opened vs Email not opened chart. |
public
|
#
wcap_abandoned_email_clicked( integer|string $wcap_email_clicked )
It will display the clicked email on the Email opened vs Email clicked chart. |
public
|
#
wcap_emails_clicked_ratio( integer|string $wcap_emails_clicked, integer|string $wcap_email_opened_count )
It will display the ration clicked email on the Email opened vs Email clicked chart. |
public
|
#
wcap_create_template_section( integer|string $wcap_template_id, string $selected_data_range, string $start_date, string $end_date )
It will generate the email template stats on the dashboard. It will show only 3 stats on single row. It will display template name, template time, open, click, recovery rate for template. |