Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > forminator > library > mixpanel
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
class-event.php | File | 1099 bytes | March 03 2025 16:08:12. | |
class-general.php | File | 2645 bytes | March 03 2025 16:08:12. | |
class-mixpanel.php | File | 8107 bytes | March 17 2025 17:29:02. | |
class-modules.php | File | 15037 bytes | March 03 2025 16:08:12. | |
class-notifications.php | File | 3232 bytes | March 03 2025 16:08:12. | |
class-settings.php | File | 5860 bytes | July 14 2025 15:42:34. |
<?php /** * The Forminator_Mixpanel_General class. * * @package Forminator */ /** * Mixpanel General Events class */ class Forminator_Mixpanel_General extends Events { /** * Initialize class. * * @since 1.27.0 */ public static function init() { add_action( 'forminator_after_form_import', array( __CLASS__, 'tracking_import' ) ); add_action( 'forminator_after_form_export', array( __CLASS__, 'tracking_export' ) ); add_action( 'forminator_before_manual_export_download', array( __CLASS__, 'tracking_manual_export' ), 10, 2 ); add_action( 'forminator_after_export_schedule_save', array( __CLASS__, 'tracking_schedule_export' ), 10, 3 ); } /** * Tracking Import * * @param string $slug Slug. * * @return void * @since 1.27.0 */ public static function tracking_import( $slug ) { self::event_form_import_export( $slug, 'import' ); } /** * Tracking Export * * @param string $slug Slug. * * @return void * @since 1.27.0 */ public static function tracking_export( $slug ) { self::event_form_import_export( $slug, 'export' ); } /** * Tracking Schedule Export * * @param int $form_id Form id. * @param string $form_type Form type. * * @return void * @since 1.27.0 */ public static function tracking_manual_export( $form_id, $form_type ) { self::event_submission_export( $form_type, 'manual' ); } /** * Tracking Schedule Export * * @param int $form_id Form Id. * @param string $form_type Form type. * @param array $data Data. * * @return void * @since 1.27.0 */ public static function tracking_schedule_export( $form_id, $form_type, $data ) { $schedule_active = isset( $data[ $form_id . $form_type ] ) ? $data[ $form_id . $form_type ] : array(); if ( ! $schedule_active['enabled'] ) { return; } self::event_submission_export( $form_type, 'schedule' ); } /** * Event Import/Export * * @param string $slug Slug. * @param string $type Type. * * @return void */ private static function event_form_import_export( $slug, $type ) { self::track_event( 'form_import_export', array( 'form type' => esc_html( $slug ), 'exim type' => esc_html( $type ), ) ); } /** * Event Submission export * * @param string $form_type Form type. * @param string $action Action. * * @return void */ private static function event_submission_export( $form_type, $action ) { if ( 'cform' === $form_type ) { $form_type = 'form'; } self::track_event( 'for_submission_exported', array( 'form type' => esc_html( $form_type ), 'export type' => esc_html( $action ), ) ); } }
SILENT KILLER Tool