added tracking for generated pdfs