'Analytics' link only appears for pdf files