Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Our page analysis tool is only able to analyse content that is directly entered on the page content and thus we are unable to give a score for pages that are generated from shortcodes.
To be able to analyse how this page rates on the on-page tests, please copy the shortcode content on the frontend page and paste it on a new post on the backend.
Looking forward to helping you. Thank you
Hi,
We have added API access to the content analysis in the Rank Math plugin to make shortcode content from page builder plugins readable by Rank Math.
You would need to contact the developer of the plugin you mentioned by showing the following link:
https://rankmath.com/kb/content-analysis-api/
Many known companies have already added the compatibility, as it takes a few hours:
https://rankmath.com/compatibility/divi/
https://rankmath.com/compatibility/elementor/
https://rankmath.com/compatibility/themify-builder/
https://rankmath.com/compatibility/page-builder-framework/
https://rankmath.com/compatibility/flothemes/
I hope that helps. Please let us know if there’s anything else you need our assistance with. More than happy to help.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Did you check the link share d to the API, it has clear steps on what to do. Here is the example of Content Analysis API used in WP Review plugin https://github.com/MyThemeShopTeam/WP-Review/blob/new-analysis/admin/assets/js/rank-math-integration.js
Looking forward to helping you. Thank you.
ββββββ
I did see the sample code and the instructions. But i don’t get it. For example:
wp_enqueue_script( 'rank-math-integration', DIR . '/js/rank-math-integration.js', [ 'wp-hooks', 'rank-math-analyzer' ], false, true );
Does the above go into the empty JS fiile or my plugin php file? I assuem my php file.
wp.hooks.addFilter( 'rank_math_title', 'plugin-name', callback_function_to_fetch_title ) // This will hook into title analysis data.
wp.hooks.addFilter( 'rank_math_content', 'plugin-name', callback_function_to_fetch_content ) // This will hook into content analysis data.
Does that go in the php or js file? I just don’t follow it. Sorry.
Hi,
You have to share that with your theme developer.
They will know what to do with it.
You should only try to implement it if you are familiar with coding in general and especially with what fields your theme is using to generate content.
It will take your theme developer only a few hours to implement and will likely help thousands of users if they do it. Please get in touch with them.
Hope that helps.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.