It did not include the insurrection, which is why the case was never dismissed by the Court.
One of the most damning pieces of evidence that's rarely discussed is that Trump had his personal and campaign lawyers in the meetings surrounding the attempt to change the election, but specifically excluded the official White House counsel. That means he was acting as Candidate Trump and not President Trump.