Skip to content

Instantly share code, notes, and snippets.

@leadbi
Last active August 28, 2018 07: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 leadbi/8b643b9534ae6d6439f2db7c97f10419 to your computer and use it in GitHub Desktop.
Save leadbi/8b643b9534ae6d6439f2db7c97f10419 to your computer and use it in GitHub Desktop.
LeadBI Dynamic Content

LeadBI Dynamic Content

This feature allows you to pull data from LeadBI into your website pages. Example:

Hello <{{ first_name | Dear Visitor }}>, welcome to our website.

The snippet from above will try to use the first name from LeadBI, if the user is not identified will use "Dear Visitor".

Avalable variables:

  • first_name
  • last_name
  • company_name
  • email
  • phone
  • custom_fields
  • role
  • country
  • city
  • state
  • website
  • first_visit
  • last_activity
  • referral
  • page_views
  • view_time
  • visits

Wordpress Plugin

This feature is also avalable in wordpress via a shortcode. Example:

Hi [leadbi_placeholder var="first_name" default="Dear Visitor"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment