Modify shortocode in page by url


Is it feasible to change the shortocode of a web page by readinng a link?
Something such as this: one page/post with a shortcode such as this:
[this is a shortocode with variable $var] and also change $var by checking out a link like https://link/to/page/?var?
The concept is to make 1 special web page to install my pdfs, and also pass the pdf to install when calling the page/post with its link. As well as prevent to have one web page per ingrained pdf.
Many Thanks!

  • This subject was customized 7 mins earlier byklinik