tclthomas
Forum Replies Created
-
Hey,
That’s where I started from though, and it does not prevent duplicates, it simply prevents Facebook from picking up on them. The product is still in the feed twice.
Also, it just hasn’t worked in general, see below how the item group ID is different to the ID and yet it is still duplicated:
<item> <g:id>19974</g:id> <g:brand>Superga</g:brand> <g:availability>in stock</g:availability> <g:condition>New</g:condition> <g:description>Kostenfreier Versand innerhalb Deutschlands. Kostenfreier Rückversand innerhalb Deutschlands.</g:description> <g:image_link>https://www.superga.de/wp-content/uploads/2020/12/S1118FW-SA0B-white-multicolor-dot-1.png</g:image_link> <g:link>https://www.superga.de/product/2795-polyromanticdotsw-white-multicolor-dot/?utm_source=social&utm_campaign=ZAHL-SCHUHNAME&utm_medium=ig&utm_term=19974</g:link> <g:title>2795 POLYROMANTICDOTSW white-multicolor dot</g:title> <g:price>EUR 89.95</g:price> <g:item_group_id>19966</g:item_group_id> <g:google_product_category>187</g:google_product_category> <g:product_type>Home > Damen</g:product_type> <g:size>39</g:size> <g:gtin>8032751532273</g:gtin> <g:sale_price>EUR 39.95</g:sale_price> <g:identifier_exists>yes</g:identifier_exists> </item> <item> <g:id>19974</g:id> <g:brand>Superga</g:brand> <g:availability>in stock</g:availability> <g:condition>New</g:condition> <g:description>Kostenfreier Versand innerhalb Deutschlands. Kostenfreier Rückversand innerhalb Deutschlands.</g:description> <g:image_link>https://www.superga.de/wp-content/uploads/2020/12/S1118FW-SA0B-white-multicolor-dot-1.png</g:image_link> <g:link>https://www.superga.de/product/2795-polyromanticdotsw-white-multicolor-dot/?utm_source=social&utm_campaign=ZAHL-SCHUHNAME&utm_medium=ig&utm_term=19974</g:link> <g:title>2795 POLYROMANTICDOTSW white-multicolor dot</g:title> <g:price>EUR 89.95</g:price> <g:item_group_id>19966</g:item_group_id> <g:google_product_category>187</g:google_product_category> <g:product_type>Home > Damen</g:product_type> <g:size>39</g:size> <g:gtin>8032751532273</g:gtin> <g:sale_price>EUR 39.95</g:sale_price> <g:identifier_exists>yes</g:identifier_exists> </item>Edit: Just to clarify – the reason I mapped the group ID as the product ID is because the group ID will not change. Whereas the product ID in the feed might if the default variation is changed, which would remove the product from the FB shop and delete the tags from my posts. Which just happened on all my recent posts because of the ID change I just implemented haha.
Hey,
Yeah, it’s:
https://www.superga.de/wp-content/uploads/woo-product-feed-pro/logs/debug.log
To find the correct feed here’s the channel hash:
[channel_hash] => a80023c048bcf50aa70821992617d970
That made it much worse. I lowered the batch size to 50 and now I’ve gone from originally having 2 duplicates, to having 6, and now finally 30.
I’ve increased the batch size back to normal and the duplicates are back to 2.
There aren’t any fatal error logs from today. The last fatal error log is from the 16th July.
Seems to have made it worse. I went from only having one duplicate to now having 5 or 6.
Ok, I’ll give that a try and come back to you.
Hi,
Ok thank you. I’ll get on to our developers.
Tom
Hi Thomas,
Thanks for the quick response.
I did not, I’ve gone through and made some of the changes now.
I have separate custom events for each thing in tag manager, just to make it easier for me. Also, when I’m using Tag Manager debug it looks like none of the regex matched events are being pushed into the data layer either:
gtm4wp.productClickEEC|gtm4wp.addProductToCartEEC|gtm4wp.removeFromCartEEC|gtm4wp.checkoutOptionEEC|gtm4wp.checkoutStepEEC|gtm4wp.changeDetailViewEEC|gtm4wp.orderCompletedEEC
So I’m still unsure how the add to cart and product view information would be processed.
Thanks again for your help.
Hi,
Ok, thanks for your reply.
I’m not too familiar with PHP, is there a way for it to (in the example above) have a second piece of $data, called $data2 and after the ‘else’ part run another set of mapping rules based on $data2?
Thanks
Ok that’s frustrating.
But thanks for the response.
Hey John,
You need to accept the cookies. It’s definitely there when I use the tag assistant.
Any help or has this thread just stopped?
### WordPress Environment ### WordPress address (URL): https://www.superga.de Site address (URL): https://www.superga.de WC Version: 4.8.0 REST API Version: ✔ 4.8.0 WC Blocks Version: ✔ 3.8.1 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.7.3 Log Directory Writable: ✔ WP Version: 5.6 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: de_DE External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.13 PHP Post Max Size: 128 MB PHP Time Limit: 60 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.7.32-1 Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.8.0 WC Database Prefix: wp_ Total Database Size: 64.76MB Database Data Size: 35.84MB Database Index Size: 28.92MB wp_woocommerce_sessions: Data: 0.17MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.27MB + Index: 0.25MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.19MB + Index: 0.14MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.14MB + Index: 0.13MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.14MB + Index: 0.09MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 3.23MB + Index: 0.23MB + Engine InnoDB wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_hash: Data: 0.38MB + Index: 0.00MB + Engine InnoDB wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 17.55MB + Index: 12.98MB + Engine InnoDB wp_posts: Data: 2.52MB + Index: 2.41MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 1.44MB + Index: 0.34MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 0.17MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 2.52MB + Index: 3.97MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmf_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 4.52MB + Index: 6.50MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 1.52MB + Index: 0.86MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### acf-field: 218 acf-field-group: 6 attachment: 1834 flamingo_contact: 5 oembed_cache: 24 page: 19 post: 4 product: 438 product_variation: 5278 revision: 3 shop_coupon: 7 shop_order: 191 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (24) ### ACF Content Analysis for Yoast SEO: by Thomas Kräftner ViktorFroberg marol87 pekz0r angrycreative Team Yoast – 3.0.1 Advanced Custom Fields: Image Aspect Ratio Crop: by Johannes Siipola – 5.0.5 Advanced Custom Fields PRO: by Elliot Condon – 5.9.3 Advanced Custom Fields: Table Field: by Johann Heyne – 1.3.10 Classic Editor: by WordPress Contributors – 1.6 Contact Form 7: by Takayuki Miyoshi – 5.3.2 Duplicate Page: by mndpsingh287 – 4.3 Flamingo: by Takayuki Miyoshi – 2.2.1 Intuitive Custom Post Order: by hijiri – 3.1.2.1 MainWP Child: by MainWP – 4.1.3.1 Password Protected: by Ben Huson – 2.4 Safe SVG: by Daryll Doyle – 1.9.9 TCL Admin Editor: by The Cookie Labs – 0.1 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.46 PayPal PLUS for WooCommerce: by Inpsyde GmbH – 2.2.1 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.0 WooCommerce: by Automattic – 4.8.0 (update to version 4.9.0 is available) Yoast SEO: by Team Yoast – 15.6.2 WP All Import Pro: by Soflyy – 4.6.5 WP Mail SMTP: by WPForms – 2.5.1 WP Media folder: by Joomunited – 5.3.8 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.1.6 WP All Import - ACF Add-On: by Soflyy – 3.3.1 WP All Import - WooCommerce Add-On Pro: by Soflyy – 3.2.5 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: ✔ Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: ❌ Page not set Cart: ❌ Page does not contain the shortcode. Checkout: ❌ Page does not contain the shortcode. My account: ❌ Page not set Terms and conditions: ❌ Page not set ### Theme ### Name: The Cookie Labs Templates Version: 1.551 Author URL: https://thecookielabs.com/ Child Theme: ✔ Parent Theme Name: The Cookie Labs Parent Theme Version: 1.0 Parent Theme Author URL: https://thecookielabs.com/ WooCommerce Support: ✔ ### Templates ### Overrides: superga/woocommerce/archive-product.php superga/woocommerce/cart/cart-empty.php superga/woocommerce/cart/cart-totals.php superga/woocommerce/cart/cart.php superga/woocommerce/cart/proceed-to-checkout-button.php superga/woocommerce/checkout/form-billing.php superga/woocommerce/checkout/form-checkout.php superga/woocommerce/checkout/form-shipping.php superga/woocommerce/checkout/payment-method.php superga/woocommerce/checkout/payment.php superga/woocommerce/checkout/review-order.php superga/woocommerce/checkout/thankyou.php superga/woocommerce/emails/admin-new-order.php superga/woocommerce/emails/customer-processing-order.php superga/woocommerce/notices/error.php superga/woocommerce/notices/notice.php superga/woocommerce/notices/success.php superga/woocommerce/single-product.php ### Action Scheduler ### Complete: 525 Oldest: 2020-12-15 14:09:03 +0000 Newest: 2021-01-13 14:57:45 +0000 Pending: 1 Oldest: 2021-01-13 21:53:42 +0000 Newest: 2021-01-13 21:53:42 +0000