Hi @jaap33,
We strongly recommend using the Post ID instead of the SKU ID. Using the SKU can lead to much more issues. Oftentimes, it’s more difficult to debug.
You can check our plugin configuration tutorial for Dynamic Remarketing here – https://sweetcode.com/docs/wpm/plugin-configuration/dynamic-remarketing.
Let me know if you have any questions.
Regards
Plugin Author
alekv
(@alekv)
Thread Starter
Jaap33
(@jaap33)
@alekv Thank you so much. How do I combine sku with postid with an “_” in between?
add_filter(‘wpm_product_id_type_for_facebook’, function () {
return ‘sku’ . “_” . ‘post_id’;
});
is it like this?
Plugin Author
alekv
(@alekv)
No. I’ll send you a working code later today.
Plugin Author
alekv
(@alekv)
1. Please update to version 1.27.7 of the Pixel Manager.
2. Here’s the code for functions.php in your child theme: https://gist.github.com/alewolf/73491884ace565ceb2b689fea635a715
-
This reply was modified 3 years, 6 months ago by
alekv.
Plugin Author
alekv
(@alekv)
Btw. if you need that ID to be applied not just to Google Ads, but also for Facebook, etc. you’ll have to add filters for each.