Changeset 2796316
- Timestamp:
- 10/10/2022 04:10:26 AM (2 years ago)
- Location:
- fathom-analytics-conversions
- Files:
-
- 2 added
- 12 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
fathom-analytics-conversions/tags/1.0.9/README.txt
r2794813 r2796316 4 4 Tags: analytics, events, conversions, fathom 5 5 Requires at least: 5.9 6 Tested up to: 6. 07 Stable tag: 1.0. 86 Tested up to: 6.2 7 Stable tag: 1.0.9 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 67 67 * [Ninja Forms](https://wordpress.org/plugins/ninja-forms/) & [Ninja Forms Pro](https://ninjaforms.com/) 68 68 * [Fluent Forms](https://wordpress.org/plugins/fluentform/) & [Fluent Forms Pro](https://fluentforms.com/) 69 * [WooCommmerce](https://woocommerce.com/) 69 70 70 71 == Installation == … … 142 143 == Changelog == 143 144 145 = 1.0.9 = 146 * WooCommerce support, adding order total to the event 147 144 148 = 1.0.8 = 145 149 * Allowing custom fathom code option, and removal of reliance on official Fathom Plugin -
fathom-analytics-conversions/tags/1.0.9/admin/class-fathom-analytics-conversions-admin.php
r2794813 r2796316 4 4 * 5 5 * @link https://www.fathomconversions.com 6 * @since 1.0 6 * @since 1.0.9 7 7 * 8 8 * @package Fathom_Analytics_Conversions … … 132 132 echo '<input type="text" id="' . esc_attr( FAC4WP_OPTIONS . '[' . FAC4WP_OPTION_API_KEY_CODE . ']' ) . '" name="' . esc_attr( FAC4WP_OPTIONS . '[' . FAC4WP_OPTION_API_KEY_CODE . ']' ) . '" value="' . esc_attr( $_api_key ) . '" ' . esc_html( $_input_readonly ) . ' class="regular-text" />'; 133 133 $result = fac_api_key(); 134 //echo '<pre>';print_r( $fac4wp_options);echo '</pre>';134 //echo '<pre>';print_r( $fac4wp_options );echo '</pre>'; 135 135 if ( isset( $result['code'] ) && $result['code'] === 200 ) { 136 136 $body = isset( $result['body'] ) ? json_decode( $result['body'], true ) : array(); … … 389 389 'plugin_to_check' => 'ninja-forms/ninja-forms.php', 390 390 ), 391 FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE => array( 392 'label' => __( 'Woocommerce', 'fathom-analytics-conversions' ), 393 'description' => __( 'Check this to add conversation a successful order.', 'fathom-analytics-conversions' ), 394 'phase' => FAC4WP_PHASE_STABLE, 395 'plugin_to_check' => 'woocommerce/woocommerce.php', 396 ), 391 397 ); 392 398 global $fac4wp_integrate_field_texts; -
fathom-analytics-conversions/tags/1.0.9/fathom-analytics-conversions.php
r2794813 r2796316 17 17 * Plugin URI: https://www.fathomconversions.com 18 18 * Description: Easily add event conversions in WordPress plugins to Fathom Analytics 19 * Version: 1.0. 819 * Version: 1.0.9 20 20 * Author: SixFive Pty Ltd 21 21 * Author URI: https://www.sixfive.com.au … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.0. 8' );38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.0.9' ); 39 39 define( 'FAC4WP_PATH', plugin_dir_path( __FILE__ ) ); 40 40 -
fathom-analytics-conversions/tags/1.0.9/includes/class-fathom-analytics-conversions.php
r2794813 r2796316 87 87 define( 'FAC4WP_OPTION_INTEGRATE_FLUENTFORMS', 'integrate-fluentforms' ); 88 88 define( 'FAC4WP_OPTION_INTEGRATE_NINJAFORMS', 'integrate-ninjaforms' ); 89 define( 'FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE', 'integrate-woocommerce' ); 89 90 90 91 $this->load_dependencies(); … … 165 166 */ 166 167 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-fathom-analytics-conversions-ninja-forms.php'; 168 169 /** 170 * The class responsible for defining all actions that occur in the woocommerce-specific functionality 171 * side of the site. 172 */ 173 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-fathom-analytics-conversions-woocommerce.php'; 167 174 168 175 /** … … 214 221 new Fathom_Analytics_Conversions_Fluent_Form( $this->get_plugin_name(), $this->get_version() ); 215 222 new Fathom_Analytics_Conversions_Ninja_Forms( $this->get_plugin_name(), $this->get_version() ); 223 new Fathom_Analytics_Conversions_Woocommerce( $this->get_plugin_name(), $this->get_version() ); 216 224 217 225 $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); -
fathom-analytics-conversions/tags/1.0.9/includes/fac-core-functions.php
r2794813 r2796316 6 6 * 7 7 * @package Fathom_Analytics_Conversions\Functions 8 * @version 1.0 8 * @version 1.0.9 9 9 */ 10 10 … … 23 23 FAC4WP_OPTION_INTEGRATE_FLUENTFORMS => false, 24 24 FAC4WP_OPTION_INTEGRATE_NINJAFORMS => false, 25 FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE => false, 25 26 ); 26 27 -
fathom-analytics-conversions/tags/1.0.9/uninstall.php
r2731575 r2796316 20 20 * 21 21 * @link https://www.fathomconversions.com 22 * @since 1.0 22 * @since 1.0.9 23 23 * 24 24 * @package Fathom_Analytics_Conversions … … 33 33 34 34 delete_option( 'fac4wp-options' ); 35 delete_option( 'fac_options' ); 35 36 36 37 $results = $wpdb->query( -
fathom-analytics-conversions/trunk/README.txt
r2794813 r2796316 4 4 Tags: analytics, events, conversions, fathom 5 5 Requires at least: 5.9 6 Tested up to: 6. 07 Stable tag: 1.0. 86 Tested up to: 6.2 7 Stable tag: 1.0.9 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 67 67 * [Ninja Forms](https://wordpress.org/plugins/ninja-forms/) & [Ninja Forms Pro](https://ninjaforms.com/) 68 68 * [Fluent Forms](https://wordpress.org/plugins/fluentform/) & [Fluent Forms Pro](https://fluentforms.com/) 69 * [WooCommmerce](https://woocommerce.com/) 69 70 70 71 == Installation == … … 142 143 == Changelog == 143 144 145 = 1.0.9 = 146 * WooCommerce support, adding order total to the event 147 144 148 = 1.0.8 = 145 149 * Allowing custom fathom code option, and removal of reliance on official Fathom Plugin -
fathom-analytics-conversions/trunk/admin/class-fathom-analytics-conversions-admin.php
r2794813 r2796316 4 4 * 5 5 * @link https://www.fathomconversions.com 6 * @since 1.0 6 * @since 1.0.9 7 7 * 8 8 * @package Fathom_Analytics_Conversions … … 132 132 echo '<input type="text" id="' . esc_attr( FAC4WP_OPTIONS . '[' . FAC4WP_OPTION_API_KEY_CODE . ']' ) . '" name="' . esc_attr( FAC4WP_OPTIONS . '[' . FAC4WP_OPTION_API_KEY_CODE . ']' ) . '" value="' . esc_attr( $_api_key ) . '" ' . esc_html( $_input_readonly ) . ' class="regular-text" />'; 133 133 $result = fac_api_key(); 134 //echo '<pre>';print_r( $fac4wp_options);echo '</pre>';134 //echo '<pre>';print_r( $fac4wp_options );echo '</pre>'; 135 135 if ( isset( $result['code'] ) && $result['code'] === 200 ) { 136 136 $body = isset( $result['body'] ) ? json_decode( $result['body'], true ) : array(); … … 389 389 'plugin_to_check' => 'ninja-forms/ninja-forms.php', 390 390 ), 391 FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE => array( 392 'label' => __( 'Woocommerce', 'fathom-analytics-conversions' ), 393 'description' => __( 'Check this to add conversation a successful order.', 'fathom-analytics-conversions' ), 394 'phase' => FAC4WP_PHASE_STABLE, 395 'plugin_to_check' => 'woocommerce/woocommerce.php', 396 ), 391 397 ); 392 398 global $fac4wp_integrate_field_texts; -
fathom-analytics-conversions/trunk/fathom-analytics-conversions.php
r2794813 r2796316 17 17 * Plugin URI: https://www.fathomconversions.com 18 18 * Description: Easily add event conversions in WordPress plugins to Fathom Analytics 19 * Version: 1.0. 819 * Version: 1.0.9 20 20 * Author: SixFive Pty Ltd 21 21 * Author URI: https://www.sixfive.com.au … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.0. 8' );38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.0.9' ); 39 39 define( 'FAC4WP_PATH', plugin_dir_path( __FILE__ ) ); 40 40 -
fathom-analytics-conversions/trunk/includes/class-fathom-analytics-conversions.php
r2794813 r2796316 87 87 define( 'FAC4WP_OPTION_INTEGRATE_FLUENTFORMS', 'integrate-fluentforms' ); 88 88 define( 'FAC4WP_OPTION_INTEGRATE_NINJAFORMS', 'integrate-ninjaforms' ); 89 define( 'FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE', 'integrate-woocommerce' ); 89 90 90 91 $this->load_dependencies(); … … 165 166 */ 166 167 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-fathom-analytics-conversions-ninja-forms.php'; 168 169 /** 170 * The class responsible for defining all actions that occur in the woocommerce-specific functionality 171 * side of the site. 172 */ 173 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-fathom-analytics-conversions-woocommerce.php'; 167 174 168 175 /** … … 214 221 new Fathom_Analytics_Conversions_Fluent_Form( $this->get_plugin_name(), $this->get_version() ); 215 222 new Fathom_Analytics_Conversions_Ninja_Forms( $this->get_plugin_name(), $this->get_version() ); 223 new Fathom_Analytics_Conversions_Woocommerce( $this->get_plugin_name(), $this->get_version() ); 216 224 217 225 $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); -
fathom-analytics-conversions/trunk/includes/fac-core-functions.php
r2794813 r2796316 6 6 * 7 7 * @package Fathom_Analytics_Conversions\Functions 8 * @version 1.0 8 * @version 1.0.9 9 9 */ 10 10 … … 23 23 FAC4WP_OPTION_INTEGRATE_FLUENTFORMS => false, 24 24 FAC4WP_OPTION_INTEGRATE_NINJAFORMS => false, 25 FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE => false, 25 26 ); 26 27 -
fathom-analytics-conversions/trunk/uninstall.php
r2731575 r2796316 20 20 * 21 21 * @link https://www.fathomconversions.com 22 * @since 1.0 22 * @since 1.0.9 23 23 * 24 24 * @package Fathom_Analytics_Conversions … … 33 33 34 34 delete_option( 'fac4wp-options' ); 35 delete_option( 'fac_options' ); 35 36 36 37 $results = $wpdb->query(
Note: See TracChangeset
for help on using the changeset viewer.