Skip to main content

Attribute data for Lead type in PX

  • February 10, 2020
  • 2 replies
  • 53 views

dileepnalla
Forum|alt.badge.img+1

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
Forum|alt.badge.img+1
  • Author
  • Gainsight Employee ⭐️⭐️
  • February 10, 2020

cc @christopher_sanderson 


dileepnalla
Forum|alt.badge.img+1
  • Author
  • 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
}
);