Skip to main content
dileepnalla
Gainsight Employee ⭐️⭐️
February 10, 2020

Attribute data for Lead type in PX

  • February 10, 2020
  • 2 replies
  • 76 views

Use case:

I have a marketing website, I wanted to know the source of the lead, It will be a good idea to track the lead data by capturing the atttributes.

 

Current behaviour:

User type : Lead, will be tracked when website configured with aprtinsic tag-1 and email is submitted.

 

So, can we have a way to ingest some custom meta-data like source to that lead?

 

Do we have any other way? or this can be taken as an Idea?

 

Thanks

Dileep Nalla

    2 replies

    dileepnalla
    Gainsight Employee ⭐️⭐️
    February 10, 2020

    cc @christopher_sanderson 

    Thanks, Dileep Nalla
    dileepnalla
    Gainsight Employee ⭐️⭐️
    February 13, 2020

     

    1. Create the custom attributes that he wants to load while capturing the lead.
    2. Copy the below lines of code where are they are tracking the marketing website
     

    // example 1// update a field on current user
    aptrinsic('lead', 'example@example.com', {'role': 'admin'});


    // example 2
    aptrinsic('lead', 'example@example.com',
    {
    'signedUpAt': 123412341234,
    'firstName': 'John',
    'lastName': 'Smith',
    // flat custom attributes
    }
    );

     

    Thanks, Dileep Nalla