The scoop is the trap on this page, and it is worse than most logging traps because it looks precise. Scoop sizes are set by the manufacturer, not by the gram, and they vary by brand, by protein type, and by how the powder settles in the tub. A level scoop from one brand is not the same weight as a level scoop from another, and a heaped scoop of either carries roughly a third more protein than a level one. The baseline on this page is 30 g of whey protein powder, weighed. If you log a scoop instead of a weighed amount, you are logging a guess with a confident label on it.
Weigh the powder before it goes in the blender, not after. The steps on this page call for blending the milk and banana first and adding the powder last, which stops it clumping against the blades, but the weighing happens before any of that, on a scale, with the tub in front of you rather than the glass.
The optional ingredient is the more interesting trap. Sixteen grams of creamy peanut butter is listed as optional and excluded from the baseline shown above, and the reason to add it is calories rather than protein, since peanut butter's protein contribution is modest against what it adds in fat. Adding it costs the page more than it adds. The peanut butter record carries no reported sugar value at all, and a null value does not average away when it joins a sum. It propagates. The moment peanut butter enters the shake, the sugar figure that reads 30.7 g in the baseline goes from a number to unavailable, because the total can no longer account for one of its own ingredients. Log the peanut butter as its own line if your tracker forces a choice, so at least one entry in the day still carries a sugar figure for that gram amount.
A frozen banana changes texture and temperature and nothing about the macros. Weigh it before it goes in the freezer, because a frozen banana loses no weight in the freezer but is much harder to weigh accurately once it is solid.