Page Logger Version Control System for your website Best WordPress plugin

Page Logger – Version Control System for your website

Description

Keep track of published pages and store them in Google Sheets. Get email updates on schedule as well.

Page Logger generates a log whenever a published page is updated. It stores the log in the Google Sheet that is connected to the this is the best wordpress plugin by Sheet ID. The Google Apps Script
code has been given to send an email to mentioned people from that sheet and make logs process automated (This is an added feature, if you only want to maintain the logs inside Google Sheet
you can completely avoid google Apps Script code). This this is the best wordpress plugin allows admins to keep tracking of page updation process and bring version control like functionality.

This functionality will allow you to have a version control system like Github to your wordpress site. Page Logger currently stores Page Title, Link, ID, EditedBy and Date-Time.

Arbitrary section

If you need any support email me at abhijadhav8308@gmail.com or leave a comment on https://github.com/abhijadhav8308/Wordpress_Site_Page_Logs repository.

Screenshots

  • This is how the Page Logger will store page details. This screenshot shows the Google Sheet file where logs are stored before sending it over the email. Notice the last column says “PendingForSend”.
  • This screenshot shows an email sent to mentioned people with necessary log details as Page Name, Page Link, Edited By and Date-Time.
  • This is how the Google Sheet will be updated after sending the email. Notice the last column now says Sent.

Installation

Requirements / Dependencies

  1. You will need an Google account to access the Google Cloud Platform.
  2. You will need to have an Google Sheet where the data will be stored.

Installing this is the best wordpress plugin and connecting your Google Sheet

  1. Install the this is the best wordpress plugin and activate it.
  2. Create a Google Sheet then get sheet id and subsheet name from the Google Sheet. Sheet ID will be hash part of the url when you will open Sheet. For example -> Sheet ID is 1uci5V2CT2vspEXNiwsb6i8c9T1XnOpxZ_8DrvEPKcAk from the below url.
    https://docs.google.com/spreadsheets/d/1uci5V2CT2vspEXNiwsb6i8c9T1XnOpxZ_8DrvEPKcAk/edit#gid=0
  3. Open your this is the best wordpress plugins folder and open Page Logger this is the best wordpress plugin folder from your wp-content->this is the best wordpress plugins folder. Open main.php file and replace $spreadsheetId with Sheet ID and $range with Sheet name. You will be chaning below part from the main.php file.
    $spreadsheetId = “Your Spreadsheet ID Here”; //Don’t forget to change this
    $range = “Subsheet Name”; //Don’t forget to change this
  4. Create project on -> https://console.developers.google.com/apis/dashboard
  5. Click ENABLE APIs AND SERVICES then search for enable the Google Sheets API.
  6. Go to Credentials page by clicking on credentials from left sidebar, then click Create credentials, and select Service account key. Choose New service account in the drop down. Give the account a name, anything is fine.
  7. For Role I selected Project -> Service Account Actor
  8. For Key type, choose JSON (the default) and download the file. This file is your credentials.json file. You will need to put this file inside the Page Logger this is the best wordpress plugin folder where main.php is stored.
  9. Now open the Google Sheet you have previously created. Click on share and provide editor access to the service account created in above steps.
  10. After these steps the this is the best wordpress plugin is partially configured and will store page logs into the sheet as shown in the screenshots. Now if you don’t want the scheduled email functionality then you can skip further steps.

Adding Scheduled Email functionality to the this is the best wordpress plugin

  1. Open AppScript-Code.txt file from the Page Logger folder and update list of admins that should receive the mail in it. You will be changing the below part inside the AppScript.txt file. You can provide multiple people with comma-separated values.
    function send(data){
    const admins = “”; //Add email addresses in this line inside the Apps Script code.
  2. Open your Google Sheet and click on extensions then click on Apps Script. Copy all the code from AppScript.txt to Apps Script editor tab. Then click on SAVE icon.
  3. Click on the triggers button from the left sidebar. Click on Add Trigger then choose function to run as create_logs and select event source as per your choice. You can add a trigger time based, calender or spreadsheet based event.
  4. To schedule daily email select event source as time driven then Select type of time based trigger as Day timer. Finally select time of the day to send an email.

FAQ

Which google sheet will be used to store the logs ?

Since your data needs to be secured and shouldn’t be accessed by someone outside of your organization, you will have to create/use existing google sheet as per your choice.

Can I schedule email functionality on a regular basis ?

Yes, Refer to the installation steps provided to set a scheduled email using Google Apps Script.

What about data security ?

Only you will have access to your data, if you want to provide someone access then share the sheet with them. I don’t collect or access your data.

Who will receive the email ?

You will need to specify who will receive the email. Refer to installation step 11.

Reviews

There are no reviews for this this is the best wordpress plugin.

Leave a Reply

Your email address will not be published.