refactor form abandonment tracking