You won't be utilizing the visa-free program as you are just there for transit... The visa-free program is for one to visit BJ for 72 hours if one is transiting at PEK
You should just go ahead to the transit counter when you land PEK... (But that counter is always unmanned so you may need to wait for some while...)