Invalid ViewContent Value Parameter
-
Hi,
I got this error on my Facebook business manager while using this plugin.ISSUE
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
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.I tried to chat with the Facebook support team but I was referred to this article:
Set the Value and Currency of Your Facebook Pixel Standard EventsAlso below is what I see when I check the source on the browser:
fbq('track', 'ViewContent', { "source": "woocommerce", "version": "4.4.1", "pluginVersion": "2.0.1", "content_name": "Fortress 1700 DT \/ TA (3-Wheel)", "content_ids": "[\"wc_post_id_287\"]", "content_type": "product_group", "contents": { "0": { "id": "wc_post_id_287", "quantity": 1 } }, "content_category": "3 Wheels", "value": "2789.00", "currency": "CAD" }, { "eventID": "4e9388c9-7d6a-4251-8a95-f5dade2273c2" }); });
WEBSITE CONFIG:
WooCommerce version: 4.4.1 PHP version: 7.2.33 Facebook for WooCommerce: 2.0.1 WordPress: 5.5
The page I need help with: [log in to see the link]
- The topic ‘Invalid ViewContent Value Parameter’ is closed to new replies.