These are simulated returns, so you might be approaching the problem from the opposite direction as them. They used historical yields to build the different components of total return, so every month they calculate the new price of the instrument and the gains from coupons. If you are looking at the historical price of an ETF and want to decide which part was from price return and which part wasn't, find a book on performance attribution, because that's a much harder problem.