Code Snippets for Hiding Download and Print Options from Unknown Visitors
When visitors view PDF assets within PathFactory Content Tracks, our native PDF Viewer provides the Download and Print options. The following code can be leveraged to prevent unknown visitors from downloading PDFs until they are known in PathFactory. This will prevent visitors from accessing the PDFs without having a known email address associated with their PathFactory engagement data.