Hi,
Thank you for the reply. But I want to clarify. This is for the Yoast primary category not for a Woocommerce category. Can the ggtm4wp_eec_product_array be used for Yoast as well with modifications? Just want to make sure that I am getting this right.
Is there a way in the plugin to push the Yoast primary category variable to the datalink layer for GTM? This plugin already has the tags and categories for WordPress built in to the datalink layer but we are needing to use the Yoast primary category instead. Thanks in advance.