CDATA WooCommerce
-
Hello,
we are having issues with our wordpress woo commerce website sending ecommerce data to google analytics.
We insert the remarketing tag on the header.php of the wordpress site inside the tag but it gives us the following error:
1. Cannot find CDATA comment
2. Requires Validation - tried validating it with our Merchant ID but didn't work out, still says unvalidated. We also had our product feed uploaded on our Merchant Account.
3. Missing line breaksI had a theory that it should be inserted on each product detail pages, so I was looking for custom code plugin for woocommerce but still cannot find one.
-
Check the content of your "ecomm_prodid" parameter, usually the source of all nightmares.
When you include multiple product id you need to format it properly, and google example is wrong and missing a comma. I just googled to search for a good example: http://marketlytics.com/setup-adwords-dynamic-remarketing-using-tag-manager/