There is armor on the body, so tranq at its head; you can do this with just a slingshot ( tamed an ankylo as my #1 priority in ARK)

More Ankylosaurus Taming & KO Tips