Twitter now creates code to track visits to your site from twitter. https://support.twitter.com/articles/20170807-conversion-tracking-for-websites#
Where would be the best place to put this code, into a template? is there a module for this like there is for google analytics?