Skip to main content
dileepnalla
Gainsight Employee ⭐️⭐️
Feb 10, 2020 11:41 AM UTC

Attribute data for Lead type in PX

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 ⭐️⭐️
    Feb 10, 2020 11:42 AM UTC

    cc @christopher_sanderson 

    Translate
    Thanks, Dileep Nalla
    dileepnalla
    Gainsight Employee ⭐️⭐️
    Feb 13, 2020 4:13 PM UTC

     

    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
    }
    );

     

    Translate
    Thanks, Dileep Nalla