• pixelmm

    (@pixelmm)


    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

    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

    ifnot works any retargeting will not works.

    I hope someone can find a solution.

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

    (@djwilko12)

    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

    (@adespresso)

    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

    (@adespresso)

    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

    (@djwilko12)

    on both simple and variable

    Thread Starter pixelmm

    (@pixelmm)

    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 4 years ago by pixelmm.
    • This reply was modified 4 years ago by pixelmm.
    Plugin Author adespresso

    (@adespresso)

    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

    (@pixelmm)

    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

    (@superandreescu)

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘content_ids = NULL’ is closed to new replies.