A hidden click tracker on the soundcloud website. I ran it through AI and this is what it said in 2 parts:
This code is an HTML advertisement tracking snippet used to log user clicks for analytics purposes.
Breakdown of the Code
<aTag: Creates a clickable link.
href="https://click.pscrb.fm/4T": The destination URL. The domain pscrb.fm belongs to Podscribe, a podcast analytics and transcription service. This specific link is likely a redirect used to track a click on a podcast advertisement or sponsorship.
target="_blank": Opens the link in a new tab.
onclick="return fireClickTracker() && function(){return true;}()": This is the core tracking mechanism.
It executes a JavaScript function named fireClickTracker().
This function likely sends a signal (a "ping") to an analytics server to record that a click occurred before the browser navigates to the link.
The && function(){return true;}() part ensures the link still opens even after the tracking function runs.
style="cursor:default": Forces the mouse cursor to remain an arrow instead of changing to a hand pointer, often used to make ads look like part of the content or to prevent users from realizing it's a link until they click.
<imgTag: Displays the visual part of the ad.
src="…": Loads the ad image from a content delivery network (p-cdn.us).
border="0": Removes the default border around linked images.
class="web-inspector-hide-shortcut": A class often used by ad networks or anti-ad-block scripts to hide elements from browser developer tools or inspection overlays.
Purpose
The code is designed to track ad performance. When a user clicks the image, the fireClickTracker() function records the event (attributing the click to a specific campaign or podcast episode via the pscrb.fm link) before redirecting the user to the advertiser's website.