You cannot, as far as I know, insert the actual snippet of Google Analytics JavaScript code into a PDF.
EDIT . My previous answer was wrong; I said you can insert __utm.gif , which launches GA in PDF, but @Mark correctly says that this is not possible.
The correct answer: it is impossible to embed an external resource into a PDF, at least not with modern PDF readers with basic security settings.
Yahel
source share