Your problem might be the extra echo
in this part of that line:
<?php echo "track_load('https://example.com/" . echo $contact_link . "')"; ?>
You’re using .
to join the string parts together, so you don’t also want the echo
:
<?php echo "track_load('https://example.com/" . $contact_link . "')"; ?>
Hope that helps