What capital gains yield is measuring
Capital gains yield looks only at the change in price relative to the starting purchase price. If an asset rises from 50 to 62, the capital gains yield is 24.00% because the 12 gain is measured against the original 50 cost basis.
That makes it different from total return. Total return adds income such as dividends, coupons, or distributions. Capital gains yield intentionally excludes those cash flows so the price component can be examined on its own.