There should be a copy button in the topnav that allows to copy all the _paq/_ppas events that were pushed
copied result should look something like this:
_paq.push(["setSiteId", "foo"]);
_paq.push(["trackPageView"]);
_ppas.push(["setSiteId", "bar"]);
...