Motion sensor & cat

I need to install the Motion Sensor so that it detects my cat when it approaches the front door.

Should I install it two meters high facing the door (as indicated in the instructions)?

Or better to put it next to the door at a height of 20/30 cm?

Thanks a lot,
Michele