Title: retroriff's Replies | WordPress.org

---

# retroriff

  [  ](https://wordpress.org/support/users/retroriff/)

 *   [Profile](https://wordpress.org/support/users/retroriff/)
 *   [Topics Started](https://wordpress.org/support/users/retroriff/topics/)
 *   [Replies Created](https://wordpress.org/support/users/retroriff/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/retroriff/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/retroriff/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/retroriff/engagements/)
 *   [Favorites](https://wordpress.org/support/users/retroriff/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 91 total)

1 [2](https://wordpress.org/support/users/retroriff/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/retroriff/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/retroriff/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/retroriff/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/retroriff/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/retroriff/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GTM4WP - A Google Tag Manager (GTM) plugin for WordPress] Can enhanced e-commerce script be placed in the footer?](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/#post-14263266)
 * No, I see that the data layer is quite different. So my only option is to fix
   the behaviour of those filters.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GTM4WP - A Google Tag Manager (GTM) plugin for WordPress] Can enhanced e-commerce script be placed in the footer?](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/#post-14258469)
 * Another solution could be to uncheck the “Track enhanced e-commerce” and enqueue
   the gtm4wp-woocommerce-enhanced.js manually at the footer. Is there something
   else that should be considered when we enable this feature, or it only includes
   that JS? Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GTM4WP - A Google Tag Manager (GTM) plugin for WordPress] Can enhanced e-commerce script be placed in the footer?](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/#post-14247054)
 * Hello Thomas, I will be happy to share a stage site so we can safely modify the
   code and make tests. Can I send you the URL and login details in a private message?
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GTM4WP - A Google Tag Manager (GTM) plugin for WordPress] Can enhanced e-commerce script be placed in the footer?](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/#post-14243189)
 * I tried it but it doesn’t work. Any suggestion?
 * Thanks for your support.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GTM4WP - A Google Tag Manager (GTM) plugin for WordPress] Can enhanced e-commerce script be placed in the footer?](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/can-enhanced-e-commerce-script-be-placed-in-the-footer/#post-14229181)
 * Do you mean this?
 *     ```
       if (function_exists('gtm4wp_init')) {
           apply_filters( 'gtm4wp_integrate-woocommerce-track-classic-ecommerce', true );
           apply_filters( 'gtm4wp_integrate-woocommerce-track-enhanced-ecommerce', true );
           apply_filters( 'gtm4wp_integrate-wpcf7', true );
           apply_filters( 'gtm4wp_event-form-move', true );
           apply_filters( 'gtm4wp_scroller-enabled', true );
           apply_filters( 'gtm4wp_user_reg_login_script', true );
           apply_filters( 'gtm4wp_soundcloud', true );
           apply_filters( 'gtm4wp_youtube', true );
       }
       ```
   
 * The upcoming vanilla version will be strongly appreciated.
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Converter for Media - Optimize images | Convert WebP & AVIF] Can we limit the conversion to some image sizes?](https://wordpress.org/support/topic/can-we-limit-the-conversion-to-some-image-sizes/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/can-we-limit-the-conversion-to-some-image-sizes/#post-13645122)
 * What you say makes sense. Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Converter for Media - Optimize images | Convert WebP & AVIF] Can we limit the conversion to some image sizes?](https://wordpress.org/support/topic/can-we-limit-the-conversion-to-some-image-sizes/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/can-we-limit-the-conversion-to-some-image-sizes/#post-13644631)
 * Thank you. I am curious about why do you think it is a bad idea?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] Emails don’t show API tracking anymore](https://wordpress.org/support/topic/emails-dont-show-api-tracking-anymore/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/emails-dont-show-api-tracking-anymore/#post-13326434)
 * Hello, we have changed it as suggested and now it works. Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] Emails don’t show API tracking anymore](https://wordpress.org/support/topic/emails-dont-show-api-tracking-anymore/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/emails-dont-show-api-tracking-anymore/#post-13310689)
 * Yes, we are using the plugin made by zorem.
 * We can get the tracking link, so we send it I think because the Mail Boxes Etc
   provider wasn’t added yet. However we have removed this line and the emails still
   don’t include the tracking number.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] Emails don’t show API tracking anymore](https://wordpress.org/support/topic/emails-dont-show-api-tracking-anymore/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/emails-dont-show-api-tracking-anymore/#post-13310445)
 * We have commented this line:
 *     ```
       if ($this->link) {
         $data['tracking_link'] = urlencode($this->link);
       }
       ```
   
 * But it doesn’t work either. Actually as I said WP is receiving the tracking number
   correctly, as shown on the WP Admin Orders page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Monitor] Use of undefined constant QM_HIDE_SELF](https://wordpress.org/support/topic/use-of-undefined-constant-qm_hide_self/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/use-of-undefined-constant-qm_hide_self/#post-13309464)
 * No add-on plugins. This is the location:
 * wp-content/plugins/query-monitor/classes/Collector.php:225
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] Emails don’t show API tracking anymore](https://wordpress.org/support/topic/emails-dont-show-api-tracking-anymore/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/emails-dont-show-api-tracking-anymore/#post-13304494)
 * Hello, this is the API call we are doing:
 *     ```
       public function handle()
           {
               try {
                   $data = [
                       "tracking_provider" => $this->provider,
                       "tracking_number" => $this->tracking,
                   ];
   
                   if ($this->link) {
                       $data['tracking_link'] = urlencode($this->link);
                   }
   
                   $shipmentTracking = Woocommerce::post("orders/$this->number/shipment-trackings", $data);
   
                   Log::debug("[WooCommerce.job.order.send-shipping-number] update tracking number $this->number order");
               } catch (\Exception $exception) {
                   Log::error($exception->getMessage());
               }
           }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] Wrong URL on MRW Provider](https://wordpress.org/support/topic/wrong-url-on-mrw-provider/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wrong-url-on-mrw-provider/#post-12850746)
 * Hi, this is what I get after syncing:
 * > [View post on imgur.com](https://imgur.com/QvJRjTa)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] Wrong URL on MRW Provider](https://wordpress.org/support/topic/wrong-url-on-mrw-provider/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/wrong-url-on-mrw-provider/#post-12788828)
 * Great not it works like a charm.
 * Another question, why the providers list show 4 MRW Spain providers?
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] WPML default language](https://wordpress.org/support/topic/wpml-default-language/)
 *  Thread Starter [retroriff](https://wordpress.org/support/users/retroriff/)
 * (@retroriff)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/wpml-default-language/#post-12769064)
 * All the strings that the plugin allows to customize are in English. Those are
   not the strings that I am trying to fix. Sorry if I didn’t explain it right. 
   The strings that I am trying to set up in English are the ones shown on the screenshot
   I uploaded in my first message. Those strings appear on the plugin code and the
   plugin doesn’t allow to translate them. Thank you

Viewing 15 replies - 1 through 15 (of 91 total)

1 [2](https://wordpress.org/support/users/retroriff/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/retroriff/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/retroriff/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/retroriff/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/retroriff/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/retroriff/replies/page/2/?output_format=md)