Skip to content

Instantly share code, notes, and snippets.

@scottwater
Last active June 12, 2019 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottwater/3c80a827964f0c945241f8a36d81c841 to your computer and use it in GitHub Desktop.
Save scottwater/3c80a827964f0c945241f8a36d81c841 to your computer and use it in GitHub Desktop.
Add this to the header of a KickoffLabs thank you page (until there is UI to make this setting)
<script>
window.kol_leader_board_options = {
board_settings: {
lead_description: 'full_name'
}
}
</script>

Valid options for lead_description

  • social_id - ABC1234
  • first_name - Scott
  • first_name_social_id - Scott (ABC1234)
  • full_name - Scott Watermasysk
  • full_name_social_id - Scott Watermasysk (ABC1234)
  • username - scottwater
  • username_social_id - scottwater (ABC1234)

You can also use any of your custom fields with or without _social_id. In the event the value does not exist, the fallback will be the username.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment