It describes an ear tag (1) for livestock including: a plastic substrate (2) including means to apply the ear tag (1) to an ear of an animal; an UHF inlay (40) coupled to a flexible flat portion of the plastic substrate (2), the UHF inlay (40) including a substrate (41), an antenna (4) on the substrate (41) and a microchip connected to the antenna (4). The ear tag (1) includes a plastic film (3); a predetermined portion (3a-3l) of the plastic film (3) is laminated on the plastic substrate (2) and forms a closed pocket (5); the UHF inlay (40) is enclosed in the pocket (5) and is at least in part movable independently from the plastic substrate and (2) the plastic film (3) in the pocket (5).