How to use smartlook-client - 5 common examples

To help you get started, we’ve selected a few smartlook-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TheBrainFamily / TheBrain2.0 / web / src / MainContainer / MainContainer.js View on Github external
componentDidMount () {
    smartlookClient.init('071bd1e673b85c528487b73918514edbc7b978b0')
  }
  render () {
github Lumeer / web-ui / src / app / app.component.ts View on Github external
.subscribe(() => {
          smartlookClient.init(environment.smartlookKey);
        });
    }
github TheBrainFamily / TheBrain2.0 / web / src / MainContainer / MainContainer.js View on Github external
render () {
    const currentUser = this.props.data.CurrentUser
    let intercomUser
    if (currentUser) {
      intercomUser = {
        user_id: currentUser._id,
        email: currentUser.email,
        name: currentUser.username
      }
      smartlookClient.tag('email', currentUser.email)
      smartlookClient.tag('name', currentUser.username)
      smartlookClient.tag('websiteName', 'thebrain.pro')
    }
    return (
      
        
          <header>
          </header>
github TheBrainFamily / TheBrain2.0 / web / src / MainContainer / MainContainer.js View on Github external
render () {
    const currentUser = this.props.data.CurrentUser
    let intercomUser
    if (currentUser) {
      intercomUser = {
        user_id: currentUser._id,
        email: currentUser.email,
        name: currentUser.username
      }
      smartlookClient.tag('email', currentUser.email)
      smartlookClient.tag('name', currentUser.username)
      smartlookClient.tag('websiteName', 'thebrain.pro')
    }
    return (
      
        
          <header>
          </header>
github TheBrainFamily / TheBrain2.0 / web / src / MainContainer / MainContainer.js View on Github external
render () {
    const currentUser = this.props.data.CurrentUser
    let intercomUser
    if (currentUser) {
      intercomUser = {
        user_id: currentUser._id,
        email: currentUser.email,
        name: currentUser.username
      }
      smartlookClient.tag('email', currentUser.email)
      smartlookClient.tag('name', currentUser.username)
      smartlookClient.tag('websiteName', 'thebrain.pro')
    }
    return (
      
        
          <header>
          </header>

smartlook-client

Official Smartlook client for easy frontend integration.

MIT
Latest version published 29 days ago

Package Health Score

78 / 100
Full package analysis

Popular smartlook-client functions