In this article, we will show you how we can create solutions for different areas of SEO with Screaming Frog using special JavaScript codes. In this way, you can do your work faster and get customized reports that suit your needs. Let’s take a look at what we can do AI in Screaming Frog.
Screaming Frog Custom Javascript Feature
First, let’s talk about a great feature that Screaming Frog offers: Custom JavaScript! With Screaming Frog’s May update, you can scan using either Spider mode or List mode and now you can get AI outputs using this scan data. So, how do we use this powerful feature? Let’s learn step by step. In order to use the Custom JavaScript feature, we first need to activate Screaming Frog’s Rendering feature. The order is as follows: Configuration -> Spider -> Rendering -> JavaScript
After selecting the “JavaScript” option in the screenshot below, we activate JavaScript Rendering. The first step is complete.
After activating the rendering mode, we select the “Custom” option in the “Configuration” section. By clicking on the “Custom Javascript” option, we access the area where we can add our JS library and JS code. This feature allows us to use the data we receive from Screaming Frog with Javascript code and send these outputs back to the relevant areas in Screaming Frog.
On the page that opens, you can try running the following command:
Command: return seoSpider.data(“hello world!”)
First Steps with JS Library: Examining Codes and Writing Your Own Code
The default JS library in Screaming Frog includes spain telegram data codes prepared for many different topics such as determining the content purpose, writing alt text for images. If you wish, you can also make your first attempts by using these codes and testing them. When you examine the codes, you can see that different AI models are used.
To scan using the codes in the library, we first select a JS snippet.
For example, when we select the “Intent of Page” code, it will be sufficient to enter your own OpenAI API key in the ‘your_api_key_here’ section in the code.
When you click on the “Custom Javascript” tab, you will see the output of your javascript code.
If you wish, you can write your own customized codes based on the codes in the library and use them in different projects.
Custom JS: Creating Category Content for E-Commerce Sites with OpenAI
What would you say if I told you that you can create category and collection content for data journalism: what it is and 6 useful tools e-commerce sites? With Custom JavaScript and AI, you can take different actions depending on your imagination. Let’s take a look at an example that I use in my daily work.
To create category content, I determined the title and H1 tags of the URLs as my keywords. I created content using this data. In order to get the best results here, it is very important to prepare your prompt specifically for your brand and use the few-shot prompting technique.
You can export the JS snippets you created for fax database Screaming Frog in JSON format and share them with your friends. This way, you can make your own work easier and your teamwork more efficient.
We find it extremely exciting that the tools we use most in our routine are being enriched in this way with AI. Now you too can create wonders in minutes with Custom Javascript and AI APIs!