If you use custom properties created in Piano Analytics, you can integrate them into your AMP tagging using the "extraUrlParams" method. You will need to use the property_key present in your Data Model.
"triggers": {
"defaultPageview": {
"on": "visible",
"request": "pageview",
"extraUrlParams": {
"property_key": "value"
}
}
}
Note: if your property has been defined with a type other than string, it will be necessary to type the property_key in the code (example for a property defined as an integer: n:category_id)