๐ Import the necessary libraries and read the CSV data that will be used for the analysis
2๏ธโฃ Clean the Data
๐ Clean the data up to make it easier for an analysis
๐ This includes removing null values, renaming columns, and having the right data types
3๏ธโฃ Derive New Columns and Dataframes
๐ Segment or create values from the existing data to help with the analysis, such as a rounded position column or breaking down branded and non-branded dataframes
4๏ธโฃ Analysis & Ranking Distribution
๐ Aggregate the data into pivot tables to create a CTR curve
๐ We can gauge what positions have the highest CTR for each position in the SERP
๐ Displays the number of queries your site is ranking for each position
Feel free to leave any questions below ๐ for @saksters and he will answer them during tomorrowโs webinar (โฐ 11:00 AM ET) where he will be doing a live walk-through of the script!
Itโs #RSTwittorial Thursday! ๐ Today weโre Generating a Rendered #HTML Diff Report using #Python ๐๐ฅ
Hereโs the output ๐
What are we learning? ๐จโ๐ซ
๐ง How to generate a visual report showing the difference between the raw HTML and the JavaScript Rendered HTML using the requests_html Python library ๐๐ฅ
Why is it practical? ๐ง
๐ When webpages use #JavaScript, the HTML rendered on the client-side ๐งโ๐ป could be different from the raw HTML coming from the server-side โจ๏ธ
๐ Creating a diff allows you to quickly see ๐ the JavaScript changes ๐ฅ๏ธ (great for JavaScript #SEO!)
Skip the tedious work of updating 100s or 1,000s of meta descriptions and let this script do it for you! Speed up your processing time from 30 sec/URL to 3 sec/URL ๐คฏ