Skip to content

Instantly share code, notes, and snippets.

@leadbi leadbi/
Last active Aug 28, 2018

What would you like to do?
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
You can’t perform that action at this time.