Enqueuing additional javascript scripts on Social Link Pages

There 's a filter called social_link_pages_enqueue_scripts_scripts that contains the array of javascript scripts required for the Social Link Pages. Using this filter you can append additional scripts. Here's an example:

add_filter(
'social_link_pages_enqueue_scripts_scripts',
function ($scripts) {
$scripts[] = [
'name' => 'plausible',
'url' => 'https://plausible.io/js/plausible.outbound-links.js',
'version' => '1.0',
];
return $scripts;
}
);