Tell us what you are trying to do?
Get the Rank Math Analytics to work with the Custom Fields of Toolset
Is there any documentation that you are following?
no
Is there a similar example that we can see?
no
What is the link to your site?
hidden link
Hello, can you be more specific about how you want Toolset custom fields to integrate with Rank Math SEO's analytics? In some cases, this will require custom programming that falls outside the scope of support we provide here in the forums because of the way Rank Math tries to access post information. I can provide information about how to access Types fields in the database or using PHP code, but accessing those fields in a 3rd-party plugin falls into the responsibility of that plugin's develoeprs, or custom code using some 3rd-party API. In some other cases, configuration of the post type editor can resolve issues. So it depends on the problem you are trying to solve. See these other similar tickets for more information related to the Rank Math plugin:
https://toolset.com/forums/topic/toolset-rankmath-seo-integration/
https://toolset.com/forums/topic/rank-math-seo-and-custom-fields/
https://toolset.com/forums/topic/not-showing-rankmath-on-cpt-classic-editor/
https://toolset.com/forums/topic/view-above-header/
https://toolset.com/forums/topic/seo-use-custom-post-data-into-meta-title-or-description/#post-1556117 (Yoast SEO integration example)
To access Types custom field values from posts in the database, you can look in the postmeta table for the meta key in the format wpcf-fieldslug, where fieldslug is the slug of the custom field as shown in Toolset > Custom Fields > Post Fields. So if your custom field slug is "address", the meta key in postmeta will be wpcf-address.
The Types Field PHP API is also documented here: https://toolset.com/documentation/customizing-sites-using-php/functions/
Click "+ More" underneath the information for any field type to see examples of working with the PHP API.
If you have a specific issue you'd like to discuss, please provide more detail about what you want to achieve. I can take a closer look.