:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
["_H",1,32,"adAccountId",32,"inputs",1,2,2,"empty",1,32,"conversionToken",32,"inputs",1,2,2,"empty",1,4,2,40,6,32,"Ad account ID and conversion token are required",2,"Error",1,49,32,"em",32,"ph",32,"fn",32,"ln",32,"ct",32,"st",32,"zp",32,"country",32,"external_id",32,"hashed_maids",32,"ge",32,"db",43,12,52,"normalize",2,0,181,36,1,2,"toString",1,2,"trim",1,2,"lower",1,32,"ph",36,0,11,40,68,32,"+",32,"-",32," ",32,"(",32,")",32,".",43,6,36,3,2,"values",1,33,1,36,4,2,"length",1,31,36,6,36,5,16,40,27,36,4,36,5,45,37,7,36,2,36,7,32,"",2,"replaceAll",3,37,2,36,5,33,1,6,37,5,39,-34,35,35,35,35,35,39,91,32,"ct",36,0,11,40,66,32," ",32,".",32,",",32,"-",32,"'",43,5,36,3,2,"values",1,33,1,36,4,2,"length",1,31,36,6,36,5,16,40,27,36,4,36,5,45,37,7,36,2,36,7,32,"",2,"replaceAll",3,37,2,36,5,33,1,6,37,5,39,-34,35,35,35,35,35,39,18,32,"zp",36,0,11,40,11,36,2,32," ",32,"",2,"replaceAll",3,37,2,36,2,38,35,53,0,52,"hashAll",2,1,118,43,0,32,"array",36,1,2,"typeof",1,11,40,4,36,1,39,4,36,1,43,1,36,3,2,"values",1,33,1,36,4,2,"length",1,31,36,6,36,5,16,40,69,36,4,36,5,45,37,7,36,7,2,"empty",1,40,4,32,"",39,8,36,0,36,7,55,0,54,2,36,8,2,"empty",1,5,40,25,36,2,36,8,32,"^[a-f0-9]{64}$",2,"match",2,40,4,36,8,39,5,36,8,2,"sha256Hex",1,2,"arrayPushBack",2,37,2,35,36,5,33,1,6,37,5,39,-76,35,35,35,35,35,36,2,38,35,53,1,true,1,52,"cleanContent",1,0,140,42,0,36,0,36,2,2,"keys",1,36,2,2,"values",1,33,1,36,4,2,"length",1,31,31,36,6,36,5,16,40,99,36,3,36,5,45,37,7,36,4,36,5,45,37,8,32,"item_price",36,7,11,32,"id",36,7,11,4,2,36,8,2,"empty",1,5,3,2,40,12,36,1,36,7,36,8,2,"toString",1,46,39,42,32,"quantity",36,7,11,36,8,2,"empty",1,5,3,2,40,12,36,1,36,7,36,8,2,"toInt",1,46,39,15,36,8,2,"empty",1,5,40,7,36,1,36,7,36,8,46,36,5,33,1,6,37,5,39,-106,35,35,35,35,35,35,35,36,1,38,35,53,0,32,"event_name",32,"eventName",32,"inputs",1,2,32,"action_source",32,"actionSource",32,"inputs",1,2,32,"event_time",32,"eventTime",32,"inputs",1,2,2,"toInt",1,32,"event_id",32,"eventId",32,"inputs",1,2,2,"toString",1,32,"user_data",42,0,42,5,32,"eventSourceUrl",32,"inputs",1,2,2,"empty",1,5,40,11,36,4,32,"event_source_url",32,"eventSourceUrl",32,"inputs",1,2,46,32,"userData",32,"inputs",1,2,36,5,2,"keys",1,36,5,2,"values",1,33,1,36,7,2,"length",1,31,31,36,9,36,8,16,40,82,36,6,36,8,45,37,10,36,7,36,8,45,37,11,36,0,36,10,2,"has",2,40,29,36,10,36,11,36,2,54,2,36,12,2,"empty",1,5,40,10,36,4,32,"user_data",45,36,10,36,12,46,35,39,21,36,11,2,"empty",1,5,40,13,36,4,32,"user_data",45,36,10,36,11,2,"toString",1,46,36,8,33,1,6,37,8,39,-89,35,35,35,35,35,35,35,52,"cleanCustomValue",2,1,214,32,"value",36,0,11,32,"predicted_ltv",36,0,11,4,2,40,8,36,1,2,"toString",1,38,39,189,32,"num_items",36,0,11,40,8,36,1,2,"toInt",1,38,39,174,32,"content_ids",36,0,11,40,87,43,0,32,"array",36,1,2,"typeof",1,11,40,4,36,1,39,4,36,1,43,1,36,3,2,"values",1,33,1,36,4,2,"length",1,31,36,6,36,5,16,40,36,36,4,36,5,45,37,7,36,7,2,"empty",1,5,40,12,36,2,36,7,2,"toString",1,2,"arrayPushBack",2,37,2,36,5,33,1,6,37,5,39,-43,35,35,35,35,35,36,2,38,35,39,80,32,"contents",36,0,11,40,73,43,0,36,1,36,3,2,"values",1,33,1,36,4,2,"length",1,31,36,6,36,5,16,40,40,36,4,36,5,45,37,7,36,7,55,0,54,1,36,8,2,"empty",1,5,40,9,36,2,36,8,2,"arrayPushBack",2,37,2,35,36,5,33,1,6,37,5,39,-47,35,35,35,35,35,36,2,38,35,36,1,38,53,1,true,3,42,0,32,"customData",32,"inputs",1,2,36,7,2,"keys",1,36,7,2,"values",1,33,1,36,9,2,"length",1,31,31,36,11,36,10,16,40,57,36,8,36,10,45,37,12,36,9,36,10,45,37,13,36,13,2,"empty",1,40,3,31,39,8,36,12,36,13,36,5,54,2,36,14,2,"empty",1,5,40,7,36,6,36,12,36,14,46,35,36,10,33,1,6,37,10,39,-64,35,35,35,35,35,35,35,36,6,2,"empty",1,5,40,7,36,4,32,"custom_data",36,6,46,36,4,32,"user_data",45,36,7,32,"em",45,2,"empty",1,36,7,32,"hashed_maids",45,2,"empty",1,36,7,32,"client_ip_address",45,2,"empty",1,36,7,32,"client_user_agent",45,2,"empty",1,4,2,3,3,40,8,32,"Skipping event: Pinterest needs an email (em), a mobile ad ID (hashed_maids), or both an IP address and a user agent.",2,"print",1,35,31,38,32,"https://api.pinterest.com/v5/ad_accounts/",32,"adAccountId",32,"inputs",1,2,32,"/events",32,"testMode",32,"inputs",1,2,40,4,32,"?test=true",39,2,32,"",2,"concat",4,32,"method",32,"POST",32,"headers",32,"Authorization",32,"Bearer ",32,"conversionToken",32,"inputs",1,2,2,"concat",2,32,"Content-Type",32,"application/json",42,2,32,"body",32,"data",36,4,43,1,42,1,42,3,2,"fetch",2,33,400,36,8,32,"status",45,14,40,21,32,"Error from api.pinterest.com (status ",36,8,32,"status",45,32,"): ",36,8,32,"body",45,2,"concat",4,2,"Error",1,49,32,"object",36,8,32,"body",45,2,"typeof",1,11,36,8,32,"body",45,32,"events",45,2,"empty",1,5,3,2,40,13,36,8,32,"body",45,32,"events",45,33,1,45,39,1,31,32,"failed",36,9,32,"status",48,11,40,14,32,"Pinterest rejected the event: ",36,9,32,"error_message",45,2,"concat",2,2,"Error",1,49,36,9,32,"warning_message",48,2,"empty",1,5,40,14,32,"Pinterest accepted the event with a warning: ",36,9,32,"warning_message",45,2,"concat",2,2,"print",1,35,35,35,35,35,35,35,57,35,57,35]