{"id":18992340,"date":"2026-08-13T09:40:00","date_gmt":"2026-08-13T09:40:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/predicted_ltv-invalid\/"},"modified":"2026-08-13T09:40:00","modified_gmt":"2026-08-13T09:40:00","slug":"predicted_ltv-invalid","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/predicted_ltv-invalid\/","title":{"rendered":"Predicted_ltv invalid"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello, thank you for creating this plugin.<br \/><br \/>I found an issue with Purchase events.<br \/>Meta reports that predicted_ltv was provided as an invalid value. Unfortunately, I did not have logging enabled at that time and I cannot find the actual value, but looking at the source code I noticed the calculation is based on <code>_woo_capi_cogs<\/code> meta field, which is not defined in the plugin, but only used.<br \/><br \/>My assumption is that it is the root cause of the issue, however I decided to reach out and ask what is the reasoning behind this field, given it&#8217;s only used and not explicitly defined.<br \/><br \/>I also believe that since the value for that field is missing, the LTV always equals to the order total, which may be false in many cases.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"template":"","class_list":["post-18992340","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18992340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18992340\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18992340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}