Helper for creating links for analytics