Changeset 2191801
- Timestamp:
- 11/13/2019 02:33:37 PM (6 years ago)
- Location:
- track-for-buzzlead/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
track-for-buzzlead.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
track-for-buzzlead/trunk/readme.txt
r2191766 r2191801 10 10 Tested up to: 5.3 11 11 Requires PHP: 7.2 12 Version: 1. 1.313 Stable tag: 1. 1.312 Version: 1.2 13 Stable tag: 1.2 14 14 License: GPLv3 or later 15 15 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 30 30 31 31 == Changelog == 32 = 1.1.2 33 * Alterada a forma de importação buscando evitar erro de CORS 32 34 = 1.1.3 33 35 * Atualizacao do Tracker -
track-for-buzzlead/trunk/track-for-buzzlead.php
r2191773 r2191801 4 4 * Plugin URI: http://www.buzzlead.com.br 5 5 * Description: Tracking de conversão Buzzlead para sua loja virtual Woocommerce - Marketing de Indicações 6 * Version: 1. 1.36 * Version: 1.2 7 7 * License: GPLv3 or later 8 8 * Author: Rodrigo Fleury Bastos … … 72 72 wp_add_inline_script( 'wbg_buzzlead_conversion_tracking', 'console.log("Carregando o Tracker na pagina de sucesso!");' ); 73 73 74 wp_add_inline_script( 'wbg_buzzlead_conversion_tracking', 'function rodaTracker() { window.Tracker({campaignId:"'.carbon_get_theme_option( 'wbg_id_campanha' ).'",total:"'.$order->get_total().'",numeroPedido:"'.$order_id.'",cliente:{nome:"'.$nomeCliente.'",email:"'.$order->get_billing_email().'",documento:"'.$cpfCliente.$cnpjCliente.'"}}); }' ); 74 wp_add_inline_script( 'wbg_buzzlead_conversion_tracking', 75 'window.Tracker({ 76 campaignId:"'.carbon_get_theme_option( 'wbg_id_campanha' ).'", 77 total:"'.$order->get_total().'", 78 numeroPedido:"'.$order_id.'", 79 cliente:{ 80 nome:"'.$nomeCliente.'", 81 email:"'.$order->get_billing_email().'", 82 documento:"'.$cpfCliente.$cnpjCliente.'" 83 } 84 });' 85 ); 75 86 wp_add_inline_script( 'wbg_buzzlead_conversion_tracking', 'console.log("Carregado!");' ); 76 wp_add_inline_script( 'wbg_buzzlead_conversion_tracking', 'rodaTracker();' );87 77 88 } 78 89
Note: See TracChangeset
for help on using the changeset viewer.