Title: content_ids = NULL
Last modified: March 5, 2021

---

# content_ids = NULL

 *  [pixelmm](https://wordpress.org/support/users/pixelmm/)
 * (@pixelmm)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/content_ids-null/)
 * i’ve just installed the plugin, connect the account to my facebook page and all
   is fine (opixel and catalog). the problem is every test i do the addtocart have
   content_ids = null.
 * screen: [https://gyazo.com/ca0253910a8a76ed8543009c82bfbff5](https://gyazo.com/ca0253910a8a76ed8543009c82bfbff5)
 * i use thel atest verions of the plugin and the problem is there with or without
   serverside tracking enabled.
 * i enabled the log to see in server side trackign what the addtocart event send
   and the data seems correct:
 *     ```
       ---- Report: 2021-03-05T11:51:03+00:00 ----
   
       Exception: ServerSideEventSent
   
       --------------------
   
       Message: Server Side Event success: AddToCart
   
       ---- Context ----
   
       {"event":{"event_name":"AddToCart","event_time":1614945063,"event_source_url":"https:\/\/ilvinomanduria.it\/wp-admin\/admin-ajax.php","event_id":"da37dbf46cd9d19076d2fc4059c8a847","user_data":{"em":"e8c21ecdf1d4f1e76597b842d0e04866366d25302cd925e7363952ab6dba6ddb","ph":"1c5c54ad8b30b2106b4919c320cb11595f5b3fc612920300372fb2f3f2e05381","ln":"eef7527962e10a2ba6078bc19e867f7ad194a7075f8617ad8baf703f47272c48","fn":"192c33caac3d89ed647f6dc54419161c2bbf4b57d12bb8c546e41d6448597571","ct":"9d38b3d8c59d9ef2b1116ef5a2ec9c34c0b61ef496b6162e1ba42b5597d481df","st":"76592b9de6d38238a52a3651867871e5c670e6320a8ef46a84b5590f8933f33e","zp":"043a81156300169b30fafbe6317ff89220a262e0704ec992372cd370309f4788","external_id":"1","client_ip_address":"95.255.101.154","client_user_agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/88.0.4324.190 Safari\/537.36","fbp":"fb.1.1614936856412.158703027"},"custom_data":{"value":"3.50","currency":"eur","content_category":"Prodotti Tipici","content_ids":["PSV114"],"content_type":"product"},"action_source":"website"}}
       ```
   
 * also onm facebook pixel testing i’ve the same warning about the null content
 * [https://gyazo.com/3e44e0cf8a577b00995a2840be7f70b6](https://gyazo.com/3e44e0cf8a577b00995a2840be7f70b6)
 * ifnot works any retargeting will not works.
 * I hope someone can find a solution.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [djwilko12](https://wordpress.org/support/users/djwilko12/)
 * (@djwilko12)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14186162)
 * Same here! Add to cart events. Adds to Cart with matched content IDs was ok and
   now is 0%.
    I checked with Facebook Pixel Helper extension and the add to cart
   event is showin with a warning. I can see the content_ids to be [null]. Please
   we need you to fix this! We need a solution!
 *  Plugin Author [adespresso](https://wordpress.org/support/users/adespresso/)
 * (@adespresso)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14190477)
 * Hi,
 * what version of Pixel Caffeine and WooCommerce are you using? Are using some 
   other third-party plugins or theme that customize WooCommerce in some way?
 *  Plugin Author [adespresso](https://wordpress.org/support/users/adespresso/)
 * (@adespresso)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14190495)
 * Also, when and where does it appear exactly? On a simple product? Or variable
   one? From the product shop page or from a single product page?
 *  [djwilko12](https://wordpress.org/support/users/djwilko12/)
 * (@djwilko12)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14190573)
 * on both simple and variable
 *  Thread Starter [pixelmm](https://wordpress.org/support/users/pixelmm/)
 * (@pixelmm)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14190661)
 * WP 5.6.2
    WC 5.1.0 Theme: Basel 5.4.2 Pixel Caffeine 2.3.0
 * the problem is in both cases.
    -  This reply was modified 5 years, 2 months ago by [pixelmm](https://wordpress.org/support/users/pixelmm/).
    -  This reply was modified 5 years, 2 months ago by [pixelmm](https://wordpress.org/support/users/pixelmm/).
 *  Plugin Author [adespresso](https://wordpress.org/support/users/adespresso/)
 * (@adespresso)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14190705)
 * Could you please share your website URL where I can see the issue in action? 
   it would be much appreciated, thank you!
 *  Thread Starter [pixelmm](https://wordpress.org/support/users/pixelmm/)
 * (@pixelmm)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14191530)
 * I’m sorry but after 10 days waiting for a solution without any answer I uninstalled
   your module and use another one because I’ve a pixel retargeting campaign active
   and cannot wait anymore.
 * I still using 2 separate module now one for PIXEL and one for the Feed. Yours
   was a all-in-one solution and was a great idea, but not works.
 * thanks anyway
 *  [superandreescu](https://wordpress.org/support/users/superandreescu/)
 * (@superandreescu)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14193755)
 * woocommerce problem
    go to /wp-content/plugins/woocommerce/templates/single-product/
   add-to-cart/simple.php line 49 add to button data product id like this
 * ** <button type=”submit” name=”add-to-cart” data-product_id=”<?php echo esc_attr(
   $product->get_id() ); ?>” data-product_sku=”<?php echo esc_attr( $product->get_sku());?
   >” value=”<?php echo esc_attr( $product->get_id() ); ?>” class=”single_add_to_cart_button
   button alt”><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button
   >**
 * It works perfectly
    -  This reply was modified 5 years, 2 months ago by [superandreescu](https://wordpress.org/support/users/superandreescu/).

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘content_ids = NULL’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pixel-caffeine_e2ce0c.svg)
 * [Pixel Caffeine](https://wordpress.org/plugins/pixel-caffeine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pixel-caffeine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pixel-caffeine/)
 * [Active Topics](https://wordpress.org/support/plugin/pixel-caffeine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pixel-caffeine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pixel-caffeine/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [superandreescu](https://wordpress.org/support/users/superandreescu/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/content_ids-null/#post-14193755)
 * Status: not resolved