Auto discover PDFs without .pdf extension?

Highlighted

Auto discover PDFs without .pdf extension?

Can Content AI auto discover PDFs that do not have ".pdf" in the URL? For example on this page:  Franklin Income Fund - FRIAX there are many downloads that are PDFs but do NOT have .pdf in the extension (example: https://www.franklintempleton.com/forms-literature/download/609-FF). How can we get these PDFs auto discovered in Content AI?

1 REPLY 1
Highlighted

Re: Auto discover PDFs without .pdf extension?

George Robertson

Try this code (insert it at the bottom of the HTML code):

<script>

$('.btn').click(function(){

   var url = $(this).attr("href");
   if(url.length > 0 && url != undefined){

         AITag.sendClick(url);
   }

})

</script>