Changeset 2564912
- Timestamp:
- 07/15/2021 08:53:51 AM (5 years ago)
- Location:
- daisycon-woocommerce-pixel/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (1 diff)
-
admin/class-daisycon-woocommerce-settings.php (modified) (1 diff)
-
daisycon-woocommerce.php (modified) (2 diffs)
-
public/class-daisycon-woocommerce-public.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
daisycon-woocommerce-pixel/trunk/README.txt
r2383390 r2564912 2 2 Contributors: Daisycon 3 3 Donate link: https://www.daisycon.com 4 Tags: Daisycon, Daisycon WooCommerce Pixel, WooCommerce, Pixel, Conversi epixel4 Tags: Daisycon, Daisycon WooCommerce Pixel, WooCommerce, Pixel, Conversion Pixel 5 5 Requires at least: 4.8 6 Tested up to: 5. 5.17 Stable tag: 5. 1.16 Tested up to: 5.7.2 7 Stable tag: 5.7.2 8 8 Requires PHP: 5.6 9 9 License: Daisycon 10 10 11 Toevoegen van de Daisycon conversiepixel aanWooCommerce11 Adding Daisycon conversion pixel to WooCommerce 12 12 13 13 == Description == 14 Daisycon biedt speciaal voor adverteerders die WordPress met WooCommerce gebruiken, een plugin om de conversiepixel te implementeren. Deze plugin voegt de Daisycon conversiepixel toe aan WooCommerce zonder het aanpassen van code.15 De Daisycon WooCommerce plugin voor WordPress is hier te bekijken en installeren.16 Algemene informatie over de Daisycon conversiepixel: [https://www.daisycon.com/nl/begrippenlijst/conversiepixel/](https://www.daisycon.com/nl/begrippenlijst/conversiepixel/)14 Daisycon offers a plugin to install the conversion pixel to advertisers who use WordPress with WooCommerce. 15 This plugin adds the conversion pixel to WooCommerce without changing any code. 16 General information about the Daisycon conversion pixel: [https://faq-advertiser.daisycon.com/hc/en-us/articles/206905459-Implement-the-conversion-pixel](https://faq-advertiser.daisycon.com/hc/en-us/articles/206905459-Implement-the-conversion-pixel) 17 17 18 18 == Installation == 19 **Installati e met behulp van de WordPress-pluginlijst**20 U gaat hiervoor in het WordPress-menu naar "Plugins -> Nieuwe plugin". Vervolgens vult u rechtsboven in het zoekveld “Daisycon WooCommerce” in en wacht tot deze zichtbaar is in de lijst. U kunt nu de plugin installeren en activeren.19 **Installation using the WordPress plugin page** 20 Navigate in the WordPress menu to "Plugins -> Add New". In the search field, in the upper right corner, type "Daisycon WooCommerce" and wait until the plugin shows up in the list below. You can now install and activate the plugin. 21 21 22 **Handmatige installatie** 23 U moet de plugin downloaden om deze handmatig te installeren. U gaat hiervoor naar Plugins -> Nieuwe plugin en kiest links boven voor de knop “Plugin uploaden”. Vervolgens kunt u de plugin selecteren van uw download locatie, installeren en activeren. 22 **Manual installation** 23 To install the plugin manually, you have to download it first. Navigate in the WordPress menu to "Plugins -> Add New". In the upper left corner, press the "Upload Plugin" button and select the downloaded plugin. 24 Press the "Install Now" button and finish it up by pressing the "Activate Plugin" button. 24 25 25 26 == Frequently Asked Questions == 26 In het linkermenu gaat u naar Instellingen -> Daisycon WooCommerce Pixel om de instellingen van de plugin aan te passen. In dit scherm krijgt u verschillende velden te zien, waar u iets invult of een keuze maakt. Hieronder vindt u een toelichting op deze velden.27 To change the settings of the plugin, navigate in the WordPress menu to "Settings -> Daisycon WooCommerce Pixel". Below you can find a more detailed description of the fields and values on the settings page. 27 28 28 = Campa gne ID (verplicht) =29 In dit veld vult u het Campagne ID van uw campagne/programma bij Daisycon in. U haalt deze ID op uit de interface. U kunt hier nalezen hoe dit te doen: [https://faq-advertiser.daisycon.com/hc/nl/articles/206902879-Wat-is-mijn-programma-ID-en-waar-vind-ik-die-](https://faq-advertiser.daisycon.com/hc/nl/articles/206902879-Wat-is-mijn-programma-ID-en-waar-vind-ik-die-)29 = Campaign ID (required) = 30 In this field, you can add the Campaign ID of your campaign/program with Daisycon. You can find this ID in the Daisycon interface. Read more about how to do this, over here: [https://faq-advertiser.daisycon.com/hc/en-us/articles/206902879-What-is-a-campaign-ID-and-where-do-I-find-mine-](https://faq-advertiser.daisycon.com/hc/en-us/articles/206902879-What-is-a-campaign-ID-and-where-do-I-find-mine-) 30 31 31 = Matching domein (verplicht)=32 Daisycon gebruikt verschillende domeinen om transacties in het netwerk te meten. Dit domein kan per campagne verschillen. Het is van belang dat u in deze plugin het juiste matching domein invoert. De plugin toont altijd de op dat moment beschikbare domeinen.32 = Matching Domain = 33 Daisycon uses different domains to measure transactions. This domain may differ for each campaign. It is important that you set the correct matching domain for your campaign. The plugin shows all available matching domains. 33 34 34 = Commissie: met of zonder BTW = 35 Wilt u dat de prijzen die worden doorgestuurd via de pixel, inclusief of exclusief BTW zijn? Geef uw voorkeur aan in de instellingen van de plugin. 35 = Use LCC cookie = 36 If you are using multiple affiliate networks for the same campaign you might want to consider turning this option on. 37 If this option is turned on, only the last affiliate link click is rewarded the commission for generated sales. 38 The plugin detects if the URL contains the "network" parameter, and sets a first-party cookie containing this value. When a sale is generated, this value will be read from the cookie to determine if the sale came from a Daisycon link. You can read more about it here: [https://faq-advertiser.daisycon.com/hc/en-us/articles/208742425-Network-filtering-implementing-an-LCC-script](https://faq-advertiser.daisycon.com/hc/en-us/articles/208742425-Network-filtering-implementing-an-LCC-script) 36 39 37 = Extra veld 1 t/m 5=38 U kunt de pixel verrijken met extra variabelen, dit zijn de producteigenschappen. Hiermee verrijkt u vervolgens ook de statistieken in uw campagne binnen de interface van Daisycon. Dit zijn de extra velden E1 tot en met E5. Door de verrijkte statistieken bent u in de regel nog beter in staat uw campagne te optimaliseren. Het is voor deze plugin niet verplicht de extra variabelen te gebruiken.40 = LCC `network` url parameter = 41 Here you can configure which URL parameter to use for the LCC cookie. If "daisycon" is the value of the configured URL parameter, when someone visits the website, the sale will be measured by the Daisycon system. The `network` parameter in the URL is determined by the campaign links added in the Daisycon system. If you have any questions about this, ask your account manager at Daisycon. They will gladly help you. 39 42 40 = Optioneel: Vergoeding per product instellen via Commissiecode=41 Zodra de Daisycon WooCommerce plugin is geïnstalleerd, verschijnt er bij elk product binnen WooCommerce een nieuw veld. Onder "Algemeen" treft u nu het veld "Daisycon Commissiecode". Dit veld is alleen relevant indien u binnen uw campagne een variabele vergoeding heeft ingesteld voor verschillende producten of categorieën. Wanneer dit het geval is, dan wordt de waarde die u in dit veld invoert, gematcht met de vergoedingsinstellingen van uw campagne. 43 = Commission VAT = 44 Do you want the commission to be paid based on the product prices including or excluding VAT? 42 45 43 = Vragen en meer informatie = 44 Heeft u vragen over het installeren van deze plugin? Neem dan contact op door een ticket in te sturen in uw Daisycon account. 46 = Extra field 1 to 5 = 47 You can add extra product data to the pixel, to enrich the statistics of your campaign within the Daisycon interface. These extra fields are E1 to E5. Enriching the statistics gives you the option to optimize your campaign. Using the extra fields is not required. 48 49 = Optional: Configuring product-specific commissions = 50 Every product will get an extra field, once the Daisycon WooCommerce plugin is installed. If you look at "Product data -> General" on the product page, you can find a new field called "Daisycon Pixel Commission Code". Only configure this field if you want the product to have a variable commission. The value of this field will be matched with the Commission Code configured in the Daisycon interface. If it matches the Commission Code in the Daisycon interface it will assign the commission matching the Commission Code to the product. If it doesn't match, it will fall back to the default commission value for the campaign. 51 52 = Questions & more information = 53 If you have any questions regarding the installation of this plugin, don't hesitate to contact us by submitting a support ticket from your Daisycon account. 45 54 46 55 == Screenshots == 47 1. Het instellingen overzicht56 1. Settings overview 48 57 49 58 == Changelog == 59 = 1.5 = 60 * Replaced deprecated get_used_coupons function 61 * Fixed 'include_once' issue 62 * Added matching domain 63 * Translated README to English 64 50 65 = 1.4 = 51 * Nieuw parameter toegevoegd66 * Added new parameter 52 67 53 68 = 1.3 = 54 * Nieuw matching domain toegevoegd69 * Added matching domain 55 70 56 71 = 1.2 = 57 * A lle beschikbare matching domains toegevoegd72 * Added all available matching domains 58 73 59 74 = 1.1 = 60 * Kortingscode wordt nu correct meegegeven75 * Coupon codes are now shown correctly 61 76 62 77 = 1.0.5 = 63 * LCC methode is nu ook toegevoegd78 * Added LCC method 64 79 65 80 = 1.0.4 = 66 * De extra waardes werden niet goed doorgestuurd naar ons systeem, dit is nu opgelost81 * Extra values weren't correctly passed through to our system, this is fixed now 67 82 68 83 = 1.0.3 = 69 * Aanpassing plugin handleiding84 * Edited plugin manual 70 85 71 86 = 1.0.2 = 72 * Aanpassingen t.b.v. stabiliteit van de plugin87 * Stability improvements 73 88 74 89 = 1.0.1 = 75 * Kleine aanpassingen90 * Small changes 76 91 77 92 = 1.0 = 78 * De eerste release van onzeplugin93 * First release of our plugin 79 94 80 95 == Upgrade Notice == 96 = 1.5 = 97 * Replace deprecated get_used_coupons function 98 * Fixed 'include_once' issue 99 * Added matching domain 100 * Translated README to English 101 102 = 1.4 = 103 * Added new parameter 104 81 105 = 1.3 = 82 * Nieuw matching domain toegevoegd106 * Added matching domain 83 107 84 108 = 1.2 = 85 * A lle beschikbare matching domains toegevoegd109 * Added all available matching domains 86 110 87 111 = 1.1 = 88 * Kortingscode wordt nu correct meegegeven112 * Coupon codes are now shown correctly 89 113 90 114 = 1.0.5 = 91 * Kortingscode wordt nu correct meegegeven 92 93 = 1.0.5 = 94 * LCC methode is nu toegevoegd 115 * Added LCC method 95 116 96 117 = 1.0.4 = 97 * De extra waardes werden niet goed doorgestuurd naar ons systeem, dit is nu opgelost 118 * Extra values weren't correctly passed through to our system, this is fixed now 119 120 = 1.0.3 = 121 * Edited plugin manual 98 122 99 123 = 1.0.2 = 100 * Aanpassingen t.b.v. stabiliteit van de plugin124 * Stability improvements 101 125 102 126 = 1.0.1 = 103 * Kleine aanpassingen127 * Small changes 104 128 105 129 = 1.0 = 106 Stabiele release 130 * First release of our plugin -
daisycon-woocommerce-pixel/trunk/admin/class-daisycon-woocommerce-settings.php
r2383387 r2564912 171 171 'fr135.net' => __( 'fr135.net', $this->text_domain ), 172 172 'hs82.net' => __( 'hs82.net', $this->text_domain ), 173 'jf79.net' => __( 'jf79.net', $this->text_domain ), 173 174 'lt45.net' => __( 'lt45.net', $this->text_domain ), 174 175 'mt74.net' => __( 'mt74.net', $this->text_domain ), -
daisycon-woocommerce-pixel/trunk/daisycon-woocommerce.php
r2383387 r2564912 12 12 * Plugin URI: https://www.daisycon.com/nl/tools/woocommerce-conversie-pixel/ 13 13 * Description: This plugin will automatically add the Daisycon Pixel to the WooCommmerce succespage 14 * Version: 1. 414 * Version: 1.5 15 15 * Author: daisycon 16 16 * Author URI: https://www.daisycon.com … … 29 29 * Currently plugin version. 30 30 */ 31 define( 'DAISYCON_PLUGIN_VERSION', '1. 4' );31 define( 'DAISYCON_PLUGIN_VERSION', '1.5' ); 32 32 33 33 /** -
daisycon-woocommerce-pixel/trunk/public/class-daisycon-woocommerce-public.php
r2383387 r2564912 212 212 213 213 $this->order = wc_get_order( $order_id ); 214 include_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/partials/daisycon-woocommerce-public-display.php';214 include_once( plugin_dir_path( __FILE__ ) . 'partials/daisycon-woocommerce-public-display.php' ); 215 215 } 216 216 … … 380 380 */ 381 381 protected function _get_used_coupons(){ 382 if( $coupons = $this->order->get_ used_coupons() ) {382 if( $coupons = $this->order->get_coupon_codes() ) { 383 383 $coupons = apply_filters( 'daisycon_woocommerce_pixel_used_coupons', $coupons ); 384 384 385 if ( is_array( $coupons ) && ! empty( $coupons ) ) {385 if ( is_array( $coupons ) && !empty( $coupons ) ) { 386 386 return reset( $coupons ); 387 387 }
Note: See TracChangeset
for help on using the changeset viewer.