--- title: analyticsTargetCreate - GraphQL Admin description: Create a new analytics target. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/mutations/analyticsTargetCreate md: >- https://shopify.dev/docs/api/admin-graphql/unstable/mutations/analyticsTargetCreate.md --- # analytics​Target​Create mutation Requires `write_reports` access scope. Create a new analytics target. ## Arguments * input [Analytics​Target​Create​Input](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/AnalyticsTargetCreateInput) The input fields for creating an analytics target. ### Deprecated arguments * currency​Code [Currency​Code](https://shopify.dev/docs/api/admin-graphql/unstable/enums/CurrencyCode) Deprecated * end​Date [Date](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Date) Deprecated * expected​Value [Decimal](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Decimal) Deprecated * filters [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) Deprecated * metric [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) Deprecated * name [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) Deprecated * start​Date [Date](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Date) Deprecated *** ## Analytics​Target​Create​Payload returns * analytics​Target [Analytics​Target](https://shopify.dev/docs/api/admin-graphql/unstable/objects/AnalyticsTarget) The created analytics target. * user​Errors [\[Analytics​Target​Create​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/AnalyticsTargetCreateUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### analyticsTargetCreate reference