Plugin Directory

Changeset 2564912


Ignore:
Timestamp:
07/15/2021 08:53:51 AM (5 years ago)
Author:
Daisycon
Message:

Bug fixes and added a new domain

Location:
daisycon-woocommerce-pixel/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • daisycon-woocommerce-pixel/trunk/README.txt

    r2383390 r2564912  
    22Contributors: Daisycon
    33Donate link: https://www.daisycon.com
    4 Tags: Daisycon, Daisycon WooCommerce Pixel, WooCommerce, Pixel, Conversiepixel
     4Tags: Daisycon, Daisycon WooCommerce Pixel, WooCommerce, Pixel, Conversion Pixel
    55Requires at least: 4.8
    6 Tested up to: 5.5.1
    7 Stable tag: 5.1.1
     6Tested up to: 5.7.2
     7Stable tag: 5.7.2
    88Requires PHP: 5.6
    99License: Daisycon
    1010
    11 Toevoegen van de Daisycon conversiepixel aan WooCommerce
     11Adding Daisycon conversion pixel to WooCommerce
    1212
    1313== 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/)
     14Daisycon offers a plugin to install the conversion pixel to advertisers who use WordPress with WooCommerce.
     15This plugin adds the conversion pixel to WooCommerce without changing any code.
     16General 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)
    1717
    1818== Installation ==
    19 **Installatie 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**
     20Navigate 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.
    2121
    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**
     23To 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.
     24Press the "Install Now" button and finish it up by pressing the "Activate Plugin" button.
    2425
    2526== 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.
     27To 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.
    2728
    28 = Campagne 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) =
     30In 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-)
    3031
    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 =
     33Daisycon 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.
    3334
    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 =
     36If you are using multiple affiliate networks for the same campaign you might want to consider turning this option on.
     37If this option is turned on, only the last affiliate link click is rewarded the commission for generated sales.
     38The 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)
    3639
    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 =
     41Here 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.
    3942
    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 =
     44Do you want the commission to be paid based on the product prices including or excluding VAT?
    4245
    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 =
     47You 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 =
     50Every 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 =
     53If 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.
    4554
    4655== Screenshots ==
    47 1. Het instellingen overzicht
     561. Settings overview
    4857
    4958== 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
    5065= 1.4 =
    51 * Nieuw parameter toegevoegd
     66* Added new parameter
    5267
    5368= 1.3 =
    54 * Nieuw matching domain toegevoegd
     69* Added matching domain
    5570
    5671= 1.2 =
    57 * Alle beschikbare matching domains toegevoegd
     72* Added all available matching domains
    5873
    5974= 1.1 =
    60 * Kortingscode wordt nu correct meegegeven
     75* Coupon codes are now shown correctly
    6176
    6277= 1.0.5 =
    63 * LCC methode is nu ook toegevoegd
     78* Added LCC method
    6479
    6580= 1.0.4 =
    66 * De extra waardes werden niet goed doorgestuurd naar ons systeem, dit is nu opgelost
     81* Extra values weren't correctly passed through to our system, this is fixed now
    6782
    6883= 1.0.3 =
    69 * Aanpassing plugin handleiding
     84* Edited plugin manual
    7085
    7186= 1.0.2 =
    72 * Aanpassingen t.b.v. stabiliteit van de plugin
     87* Stability improvements
    7388
    7489= 1.0.1 =
    75 * Kleine aanpassingen
     90* Small changes
    7691
    7792= 1.0 =
    78 * De eerste release van onze plugin
     93* First release of our plugin
    7994
    8095== 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
    81105= 1.3 =
    82 * Nieuw matching domain toegevoegd
     106* Added matching domain
    83107
    84108= 1.2 =
    85 * Alle beschikbare matching domains toegevoegd
     109* Added all available matching domains
    86110
    87111= 1.1 =
    88 * Kortingscode wordt nu correct meegegeven
     112* Coupon codes are now shown correctly
    89113
    90114= 1.0.5 =
    91 * Kortingscode wordt nu correct meegegeven
    92 
    93 = 1.0.5 =
    94 * LCC methode is nu toegevoegd
     115* Added LCC method
    95116
    96117= 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
    98122
    99123= 1.0.2 =
    100 * Aanpassingen t.b.v. stabiliteit van de plugin
     124* Stability improvements
    101125
    102126= 1.0.1 =
    103 * Kleine aanpassingen
     127* Small changes
    104128
    105129= 1.0 =
    106 Stabiele release
     130* First release of our plugin
  • daisycon-woocommerce-pixel/trunk/admin/class-daisycon-woocommerce-settings.php

    r2383387 r2564912  
    171171                        'fr135.net' => __( 'fr135.net', $this->text_domain ),
    172172                        'hs82.net'  => __( 'hs82.net', $this->text_domain ),
     173                        'jf79.net'  => __( 'jf79.net', $this->text_domain ),
    173174                        'lt45.net'  => __( 'lt45.net', $this->text_domain ),
    174175                        'mt74.net'  => __( 'mt74.net', $this->text_domain ),
  • daisycon-woocommerce-pixel/trunk/daisycon-woocommerce.php

    r2383387 r2564912  
    1212 * Plugin URI:        https://www.daisycon.com/nl/tools/woocommerce-conversie-pixel/
    1313 * Description:       This plugin will automatically add the Daisycon Pixel to the WooCommmerce succespage
    14  * Version:           1.4
     14 * Version:           1.5
    1515 * Author:            daisycon
    1616 * Author URI:        https://www.daisycon.com
     
    2929 * Currently plugin version.
    3030 */
    31 define( 'DAISYCON_PLUGIN_VERSION', '1.4' );
     31define( 'DAISYCON_PLUGIN_VERSION', '1.5' );
    3232
    3333/**
  • daisycon-woocommerce-pixel/trunk/public/class-daisycon-woocommerce-public.php

    r2383387 r2564912  
    212212
    213213        $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' );
    215215    }
    216216
     
    380380     */
    381381    protected function _get_used_coupons(){
    382         if( $coupons = $this->order->get_used_coupons() ) {
     382        if( $coupons = $this->order->get_coupon_codes() ) {
    383383            $coupons = apply_filters( 'daisycon_woocommerce_pixel_used_coupons', $coupons );
    384384
    385             if ( is_array( $coupons ) && ! empty( $coupons ) ) {
     385            if ( is_array( $coupons ) && !empty( $coupons ) ) {
    386386                return reset( $coupons );
    387387            }
Note: See TracChangeset for help on using the changeset viewer.