Skip to main content
IT_HELP3202412
Known Participant
October 25, 2019
Question

GA tracking code for pdfs

  • October 25, 2019
  • 1 reply
  • 462 views

Is it possible to add the google analytics tracking code to a pdf?

    This topic has been closed for replies.

    1 reply

    try67
    Community Expert
    Community Expert
    October 25, 2019

    You can add a script that launches a URL or sends a requset to a web-server when a PDF file is opened, but the user will have to approve it.

    IT_HELP3202412
    Known Participant
    October 28, 2019

    Thanks. How do I do that?

    Legend
    October 28, 2019

    You'd first have to fully understand the Google code and Acrobat JavaScript, determine whether it can be converted, and make it work. Doesn't sound like a good task if you are not an experienced coder.