Scheduling and automation are increasingly popular topics in the SEO industry.
Leveraging new ways to extract, transform, and analyze data at scale with minimal human involvement can be incredibly helpful.
Although speed is important, one of the main benefits of using automation is that it takes the weight off of repetitive tasks and leaves us more time to use our brains.
Many automation projects in the community come from SEO professionals coding in Python.
However, Python is just one of many tools that can be used for automation.
is it so
The web development industry moves at an incredibly fast pace.
If working in SEO, one may be familiar with tag management systems like Google Tag Manager or Tealium.
1.A browser (front-end).
2.Directly on a computer / laptop (back-end).
SEO automation with the browser:
Automation through the browser console:
However, creating functions in the field can be a bit tedious and time-consuming.
Therefore, Bookmarklets are an easier way to save the own custom functions without the need for browser plugins.
Bookmarks are small pieces of code saved as browser bookmarks that execute functions directly from the browser tab.
Snippets, an easy-to-use version of Bookmarklets:
Use Chrome, there is an even simpler solution using Snippets.
Create and save the same type of functions in a much more user-friendly way.
SEO automation on the back end with Node.js:
Extract data from APIs:
Gathering information from different sources to provide information and recommend actions is one of the most common jobs in SEO.
Node.js makes this incredibly simple with different options, but the preferred access module is Axios.
To start interacting with the APIs, need a module that can handle HTTP requests (HTTP client) and an endpoint (a URL to extract information).
Whether to monitor the own website, keep an eye on the competition, or simply extract information from platforms that don’t offer an API, scraping is an incredibly useful tool for SEO.
The most common module that has been used for scratching is Cheerio, which has a syntax very similar to jQuery, in combination with an HTTP client like Axios.
There are also other options like JSDOM that emulate what a browser does without the need for a browser.
Node.js can easily handle both formats using built-in modules like the file system module or more simplified versions like CSV to JSON or json2csv.
Create cloud roles to run serverless tasks.
This is a more advanced case, but it is incredibly useful for technical SEO.
Cloud computing providers like Amazon AWS, Google Cloud Platform, or Azure make it incredibly simple (and inexpensive) to set up server instances that run custom-built scripts for specific purposes without the need to configure that server.
A useful example would be to program a function that automatically pulls data from the Google Search Console API at the end of each day and stores the data in a BigQuery database.
A potential third avenue, Apps Script:
Apps Script can offer a less intimidating way to learn to code because it can be used in apps like Google Sheets, which are the bread and butter of technical SEO.
There are really useful projects that can give an idea of what can be done with Apps Script.
The open-source community is incredibly active and constantly brings in new developments in different verticals, from web development to machine learning, making it a perfect language to learn as an SEO professional.
Automating tasks is a step towards leaving boring and repetitive everyday tasks behind, becoming more efficient, and finding new and better ways to add value to customers.