How to use the smartlook-client.tag function in smartlook-client

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
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 1 month ago

Package Health Score

75 / 100
Full package analysis

Popular smartlook-client functions