Marking tag for animals, such as an ear tag, comprising a radio frequency identification RFID device suitable to be attached to an object and to be tuned at assembly time to the material surrounding the device comprising: - a wireless communication device , such as an RFID chip or strap, having at least a pair of contact points , and - an antenna structure having a sheet of electrically conductive material being provided with an inner opening so as to provide a hole through the antenna structure , the inner opening being configured to facilitate a locking mechanism engaging with the tag through the opening, the sheet further being provided with an elongated slot with a first and a second side, the slot having an inner end at a periphery of the opening and an outer end at a periphery of the sheet , the slot being formed so as to provide a spacing between the first side and the second side, where - the conductive material is electrically connected from the first side of the slot to the second side of the slot via the contact points and through the communication device at a position along the length of the slot between the inner end and the outer end , the position along the length of the slot being determined so as to tune the RFID device to a pre-determined resonance frequency, allowing the device to be adapted to specific electronic parameters and tuned to different configurations depending on the materials directly surrounding device, whereby the marking tag further comprises an attachment member for piercing a part of the animal, such as an ear, the attachment member comprising engagement means , and wherein the opening of the marking tag comprises locking means , which locking means are adapted for being lockingly engaged with the engagement means of the attachment means . - a wireless communication device , such as an RFID chip or strap, having at least a pair of contact points , and - an antenna structure having a sheet of electrically conductive material being provided with an inner opening so as to provide a hole through the antenna structure , the inner opening being configured to facilitate a locking mechanism engaging with the tag through the opening, the sheet further being provided with an elongated slot with a first and a second side, the slot having an inner end at a periphery of the opening and an outer end at a periphery of the sheet , the slot being formed so as to provide a spacing between the first side and the second side, where - the conductive material is electrically connected from the first side of the slot to the second side of the slot via the contact points and through the communication device at a position along the length of the slot between the inner end and the outer end , the position along the length of the slot being determined so as to tune the RFID device to a pre-determined resonance frequency, allowing the device to be adapted to specific electronic parameters and tuned to different configurations depending on the materials directly surrounding device, whereby the marking tag further comprises an attachment member for piercing a part of the animal, such as an ear, the attachment member comprising engagement means , and wherein the opening of the marking tag comprises locking means , which locking means are adapted for being lockingly engaged with the engagement means of the attachment means . <EOS>