![]() ![]() “max_crawl_pages” – the number of pages to crawl. Remember that to post a task, you should use the following URL:ġ At square one, we’ll define the required fields: For this example, we’ll be making a call through the Postman platform. Now we got to the most interesting part where we’ll configure our request to DataForSEO On-Page API with the custom JavaScript parameter. Learn more in our docs > How to Extract Blog Metadata with DataForSEO On-Page API also returns spell-check errors and suggestions and scans page content to provide you with five different readability index values. With this feature, our API lets you easily scan any website or web page for specific information, which you can retrieve hassle-free. You should just input the necessary JavaScript code in this field, and upon crawl completion, you’ll find the requested data in the “custom_js_response” array. That’s why we have designed our On-Page API as a customizable crawling engine for measuring website technical health and content performance.Ĭustom JavaScript (custom_js) in DataForSEO On-Page API is a parameter that allows tailoring data extraction to your specific needs. Here at DataForSEO, we perfectly understand that attaining your goals oftentimes requires very specific features and functions. What Is Custom JS in DataForSEO On-Page API? ![]() If you also connect the flow of Google Analytics data here, you’ll be able to develop a tool similar to the one shown below. Additionally, you can show social shares for the full picture. What’s more, by enriching the dashboard with comment count data, you’ll provide an instant view of articles that drive more engagement. In this way, each author will have access to a number of pages they should be keeping an eye on. Also, if you want your content audits section to allow for teamwork, then you can also add a feature for creating page segments by author. Sure enough, seeing the author for each article, your software users will be able to identify who’s responsible for updates at once. Similarly, you can implement a feature for quickly spotting outdated content based on the extracted “last modified” date. So we decided to take on this focus.Īs an example use case, leveraging On-Page API and custom JavaScript, you can empower your on-page SEO tool with the following features for keeping track of content performance.įirst off, you can provide users of your tool with a possibility to analyze the SEO performance of content by age based on publication date. In our recent research of the on-page SEO tools niche, we have found out that incorporating functionality for content analysis is one of the evolving trends. However, please, note that the code should be specific to your target website. ![]() We’ll also share an actionable example of JavaScript code that you can modify for your own crawls. In this article, we’ll walk you through extracting author, publication date, and comment count for content audits. Using the custom JavaScript field, you can extract virtually any piece of information from any web page. Now, what if we tell you that it’s actually possible with On-Page API? Imagine that you could push your crawl configuration beyond the set of ready-made parameters. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |