stape-io / facebook-tag

Facebook tag for Google Tag Manager Server Side
https://stape.io/how-to-set-up-facebook-conversion-api/
Apache License 2.0
37 stars 21 forks source link

content_category Hierarchy Missing #37

Closed yoraysa closed 11 months ago

yoraysa commented 1 year ago

Hi, Sub categories seem to be missing in the outgoing request. Theoretically this means that all sub categories won't be available via the content_category parameter.

see sGTM vs. Facebook's "test events":




the value should be Apparel > Adult > Shirts > Crew > Short sleeve

https://developers.facebook.com/docs/meta-pixel/advanced/

Bukashk0zzz commented 1 year ago

Hi,

Not sure we can help you. Basically, you define the category that you send to FB. So, if you want to send another category then send it.

yoraysa commented 1 year ago

for "single product" events such as viewcontent & addtocart you want to have this structure of main cat > sub cat > sub sub cat_ based on the the item_categoryN parameters received by the sgtm ga4 client.

in my example, I'm sending 5 different categories... just wanted to point this out as it seems like the correct practice

kHorozhanov commented 11 months ago

Hi @yoraysa! We discussed your request and decided to leave this functionality as is. You can override the category value to pass some custom structure. Thanks for your request!