i agree with deb.
if you're using raw info, then you need to weigh raw.
if you're using info from the tracker, you need to weigh cooked.
in the us, packages are required to have the nutrition info for the item as is in the package. so if your shrimp had info on the package, that was for raw. nutritiondata.com
is also a great source that uses usda info, but specifies if it was raw, cooked etc.
one other thing to remember is the 3-4oz portion of protein is for cooked meat. since cooking basically means getting rid of water in the item, and that means getting rid of weight, you're going to need to measure out larger portions raw if you choose to measure raw. in other words, you should have started with 5 or 6oz raw to get a portion cooked.