App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello, I am following Build web pixels tutorial. So far, I have managed to create a web pixel extension and connect it to my dev stores using GraphQL example in Step 5. However, I couldn't find an explanation what do the settings defined in shopify.extension.toml actually do. Default sample provided in the docs is:
type = "web_pixel_extension"
name = "pixel"
runtime_context = "strict"
[customer_privacy]
analytics = true
marketing = true
preferences = false
sale_of_data = "enabled"
[settings]
type = "object"
[settings.fields.accountID]
name = "Account ID"
description = "Account ID"
type = "single_line_text_field"
validations = [
{ name = "min", value = "1" }
]
What is the use-case for settings.fields.accountID? Is it safe to remove it from the settings?