If I decide that a trap is part of the current encounter I design the monster and trap together, and split the battlefield into parts, and randomly decide if the trap is where my characters walk.
If I decide that a trap is part of the current encounter I design the monster and trap together, and split the battlefield into parts, and randomly decide if the trap is where my characters walk.