stape-io/tiktok-tag

Content type mapping

bashoogzaad opened this issue · 1 comments

Hello,

When I test 'ViewContent' for example, the TikTok dashboard generates a warning that the 'content_type' is not set. I do not seem to get where I can set it. It would be possible to set this up with the datalayer, however there is not field from 'item' which I can use. (see https://developers.google.com/analytics/devguides/collection/ga4/reference/events#purchase_item)

So how should I set this field?

Kind regards!

You can create your own contents array and override it contents value
https://ads.tiktok.com/marketing_api/docs?id=1727541103358977
Screenshot 2022-04-04 at 18 18 55

Also you can send items array in ga4 format to server and it will be parsed
https://github.com/stape-io/tiktok-tag/blob/master/template.js#L163