--- title: AnalyticsTargetCreateInput - GraphQL Admin description: >- The input fields for creating an [analytics target](https://shopify.dev/docs/api/admin-graphql/unstable/objects/AnalyticsTarget) that tracks a merchant's goal for a specific metric over a date range. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/AnalyticsTargetCreateInput md: >- https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/AnalyticsTargetCreateInput.md --- # Analytics​Target​Create​Input input\_object The input fields for creating an [analytics target](https://shopify.dev/docs/api/admin-graphql/unstable/objects/AnalyticsTarget) that tracks a merchant's goal for a specific metric over a date range. ## Fields * end​Date [Date!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Date) non-null The end date of the period over which progress toward the target is measured. * expected​Value [Decimal!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Decimal) non-null The goal value that the merchant aims to reach for the tracked metric within the target period. Must be greater than 0. * filters [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) An optional filter expression to narrow the data evaluated against this target. For example, `shipping_country = 'US'`. * metric [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) non-null The identifier of the analytics metric that this target tracks, such as `total_sales` or `orders`. * name [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) non-null A human-readable label for the target, such as `Q1 Sales Target`. * start​Date [Date!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Date) non-null The start date of the period over which progress toward the target is measured. *** ## Map No referencing types