An American man who made threats against Taylor Swift on social media was detained ahead of her first concert in the German city of Gelsenkirchen and will be kept in custody until her shows there are over.

The suspected stalker, a 34-year-old whose name wasn’t released, had a ticket to Swift’s concert at Gelsenkirchen’s Veltins-Arena on Wednesday, police said in a statement on Thursday.

They said that, because an initial investigation couldn’t entirely rule out a risk, he was detained during entry checks to the event.

After Gelsenkirchen, Swift plans concerts in two other German cities, Hamburg and Munich. (AP)

Police said the man had made threats against Swift and her partner on social media.

They said he had been detained following tips from organisers of the event.

The American superstar has shows in Gelsenkirchen on Wednesday, Thursday and Friday as part of her Eras Tour.

A local court ordered the suspected stalker kept in detention until Saturday, police said.

They added that there was no danger at any point to Swift or to the audience. Wednesday evening’s concert, attended by about 60,000 people, went peacefully.

Spectators film with their smartphones during singer Taylor Swift’s concert in the Veltins Arena in Gelsenkirchen, Germany. (AP)

Ahead of the concerts, Gelsenkirchen put up signs temporarily renaming itself “Swiftkirchen” and honoured the singer on a “Walk of Fame” that commemorates local celebrities.

After Gelsenkirchen, Swift plans concerts in two other German cities, Hamburg and Munich.

You May Also Like

Today's Deep Media Question: Does ICE 'Kidnap' Protesters?

Today’s deep answer: Of course not. Immigration and Customs Enforcement detains…

‘Mosquitoes are more dangerous than dingoes’ and other Outback secrets that could save your life if you’re lost like backpacker Carolina Wilga – as she’s now hounded by online trolls

A top bush survival expert has revealed the extraordinary survival instincts that…

Major investigation sparked after baby found dead at suburban property

By ZAK WHEELER FOR DAILY MAIL AUSTRALIA Published: 09:09 EDT, 14 July…

Will Warren keeps solidifying spot in Yankees rotation with gritty outing

There was plenty of hard contact. There was ample traffic on the…