California will be the first state to track prescription drugs, which includes attaching a serial number to each prescription bottle and recording how many times it exchanges hands.