Sortbot initial setup

Google analytics

Add sortbot@tinyelephant.iam.gserviceaccount.com to viewer access in Google analytics accounts that Sortbot can view statistics from Google analytics.

Add google analytics user to credentials in Sortbot

Magento

Create an API user

 

Set credentials in sortbot.

Create an account in sortbot and copy over the credentials from API Magento and Google Analytics ID

 

Start Sortbot

To not lose old sorting of categories, create a backup from Sortbot. Then remove all old sorting so it does not come in conflict with Sortbot. Now you can sort all categories for the first time. As a large amount of products positions are being sorted the first time this process can take multiple hours.

After this first sync is done, all categories will be sorted one time per day at midnight as long as cron jobs are enabled.