• Hi,

    While using this plugin to connect to Facebook, we are seeing this issue on Facebook, regarding the pixel events:

    Issue: Invalid ViewContent value parameter
    One or more of your ViewContent events has invalid characters in the value field. This may affect your ability to see return on ad spend calculations.

    Solution: Check source code
    Open your website’s source code. Locate the ViewContent event(s) and update the event code snippet. The value field must contain a decimal number greater than zero, and may not include letters, special characters, currency symbols or commas.

    The products in question are products that are not currently available, so do not have a price. The pixel code generated by this plugin has this as the value:

    fbq('track', 'ViewContent', {
        "source": "woocommerce",
        "version": "4.2.2",
        "pluginVersion": "1.11.4",
        "content_name": "ATP Noway Collagen Bar",
        "content_ids": "[\"wc_post_id_158285\"]",
        "content_type": "product",
        "value": "",
        "currency": "USD"
    });

    Judging by the error message, this either needs to be 0.00, or omitted entirely.

    Any help would be much appreciated.

Viewing 1 replies (of 1 total)
  • Hey?@jakept,

    Thanks for writing to us about our plugin! I’m sorry to hear that the plugin isn’t working as expected. I am happy to help out here. ??

    I’ve done some testing on my own local development site and I can replicate the issue you’re having. Thank you so much for providing such a detailed report on this issue!

    I’ve added this to our issue tracker for the developers to get this patched up. While I don’t have an estimated time for resolution right now, please know that our team is now aware of the issue and will work to incorporate a fix into the plugin as soon as they can.

    In the meantime, though not ideal, I would recommend setting a price for the affected products and ensuring that the products are set to “Out of stock” and aren’t set to sync to Facebook. This will ensure that customers aren’t able to purchase the unavailable products.

    Would you please let me know if this workaround would work for your needs and if there’s anything else I can help you with?

    Thanks,
    Tamara ??
    SkyVerge

Viewing 1 replies (of 1 total)
  • The topic ‘Invalid ViewContent value parameter’ is closed to new replies.