I am sure that dogs can smell xtc. As you will know xtc is often contaminated
with amphetamin
and these synthetic chemival smells heavently because of the amine group which
is a part of the compound. The way it is formed can be play a rule also because
of the heavy smell of ketone groups
for instance.
By the way amphetamin will drive you nuts after frequently use.