header
No Status

Attribute data for Lead type in PX

  • 10 February 2020
  • 2 replies
  • 42 views

Userlevel 4
Badge

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

Userlevel 4
Badge

cc @christopher_sanderson 

Userlevel 4
Badge

 

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

 

Reply