I followed these instructions to use Google Tag Manager to track PDF downloads without having to manually add an onClick to every PDF link on our site and it is now tracking PDF downloads reliably. However, our PDFs are stored on a static asset server, not on the Drupal server, so each PDF download is also an exit. In the analytics, PDF downloads are showing up as relative to the root of the Drupal server: instead of
http://staticserver/file.pdf
they show up as
http://mainserver/http://staticserver/file.pdf
Step 5 in the howto linked above doesn't appear to address this issue (or else I'm mis-reading it). How can I get analytics to recognize that these clicks lead to a different host and are not relative to the root of the main server?