throw helpful error when passing string to `trackLink`, closes #389

/cc @reinpk