Logic code shared by different Seohtracker backends