You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening the issue, I just looked at the code and it seems the code is already there to get content type of post. Also, looking at the given example video, it seems these aren't considered single post type pages. Not sure how these are being built on the theme side but it's registering this as the homepage.
In this case, they'll need to utilize the filter (sophi_tracking_data) to modify the data appropriately, I have created PR to add a tutorial doc on how to modify tracking data before sending it to Sophi.
Is your enhancement related to a problem? Please describe.
When users publish a custom post type that is a video.
The FE should have that data reflected in the
sophi.data
object.that is,
sophi.data.page.type = 'video'
(currenly it is set at 'section'`)&
sophi.data.content.type = 'video'
sophi.data.content should reflect that content as well.
The tracker will pick up on those values and report them.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: