How to troubleshot when there are no attribute values
Sometimes, after you have implemented attributes on CDP, it may still be shown that there are no attribute values (0 filled) in a few places such as:
- Segment Builder
- Diagnostic Dashboard
Data
tab,Attributes
menu
It can be difficult to tell what’s going on as there can be any number of issues going on that can cause this, here’s a comprehensive list of things to check to find out what the root cause can be, in no particular order:
- Check if Profile Stitching is running in Meiro Integrations CPS workspace.
- Check Customer Entity Retention rules.
- Check if row for attribute is in
public.attributes
table and it is NOT set as disabled or hidden - Check if the source assigned for this attribute is not set as hidden or disabled
- Check if there is a row with definition in
cdp_attr.attribute
- Check if there is a code in
attr_function.sql
in CPS3 configuration in MI for this attribute - Check if there are any values directly in
public.pivoted_customer_attributes
. - Check attribute definitions by querying a subset of
cdp_ce.customer_events
table as “base” table using attribute calculation query inattr_function.sql
in CPS3 configuration in MI. - With step 8, check if there are events in
cdp_ce.customer_events
that exist that fulfil the filter conditions in the attribute definition being checked. - Check if CPS configuration in MI has a huge number of events that have not been stitched yet from the logs, specifically, you want to look at the STATUS_REPORT, and EXECUTIVE_SUMMARY from the logs. The root cause could just be that the events for the affected attributes haven’t been stitched.
- With step 10, You can also look at how long the stitching is taking based on the logs, it will log the duration for every 1,000 events for instance.
- On business explorer, you can try running cache refresh under Administration -> Settings.
This list is not exhaustive, feel free to revise this list to include more cases and things to check when it comes to attribute calculations. If all else fails, do consult the team.