Hatchback alarm sensor

I have a 318ti. The alarm goes off about 3-5 seconds after I set it. The light on the dash indicates the hatchback sensor was activated.
Anybody know where it is located? I assume I have to change it out.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

Motorsforum.com is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.