Total time spent on page from UTM campaign in milliseconds.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Medama Analytics","colors":{"primary":"#17cd8c","light":"#07C983","dark":"#108c6e"},"favicon":"/favicon-512x512.png","logo":{"light":"https://mintcdn.com/medama/YpyW_DRIsi4t2IIc/logo/banner-light.svg?fit=max\u0026auto=format\u0026n=YpyW_DRIsi4t2IIc\u0026q=85\u0026s=27047cdf1925c2658f0c2352de238d39","dark":"https://mintcdn.com/medama/YpyW_DRIsi4t2IIc/logo/banner-dark.svg?fit=max\u0026auto=format\u0026n=YpyW_DRIsi4t2IIc\u0026q=85\u0026s=b03c8cca299751a61be16b7ed195416e"},"api":{"playground":{"display":"simple"}},"navbar":{"primary":{"type":"github","href":"https://github.com/medama-io/medama"}},"seo":{"metatags":{"og:description":"Medama Analytics is an open-source project dedicated to providing self-hostable, cookie-free website analytics. With a lightweight tracker of less than 1KB, it aims to offer useful analytics while prioritising user privacy.","og:url":"https://medama.io","og:logo":"/logo/banner-dark.svg","og:image":"/img/demo.png","twitter:image":"/img/demo.png","twitter:site":"@medama_io","twitter:creator":"@ayuhitoo"},"indexing":"all"},"footer":{"socials":{"github":"https://github.com/medama-io"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"medama","hasAudioNarration":false,"actualSubdomain":"medama","customDomains":[],"gitSource":{"type":"github","owner":"medama-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae91d07b06fa73e673b5531:success","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":28},{"language":"default","tag":"Documentation","count":19},{"language":"default","tag":"Stats","count":13},{"language":"default","tag":"Deployment","count":6},{"language":"default","tag":"Website","count":5},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Methodology","count":5},{"language":"default","tag":"User","count":4},{"language":"default","tag":"Features","count":4},{"language":"default","tag":"Data Collection","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/stats/get-utm-campaign-stats","slug":"/api-reference/stats/get-utm-campaign-stats","pageMetadata":{"openapi":"get /website/{hostname}/campaigns","title":"Get UTM Campaign Stats","description":"Get a list of UTM campaigns and their stats.","href":"/api-reference/stats/get-utm-campaign-stats"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get a list of UTM campaigns and their stats.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /website/{hostname}/campaigns","title":"Get UTM Campaign Stats","description":"Get a list of UTM campaigns and their stats.","href":"/api-reference/stats/get-utm-campaign-stats"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Stats"],"security":["2a8f10fe-b253-4f54-851f-5ab8b0307477"],"summary":"Get UTM Campaign Stats","description":"Get a list of UTM campaigns and their stats.","operationId":"get-website-id-campaigns","parameters":["4c549b02-1a52-4e75-9f1e-af22eb80e4fd","02839b9c-9f2e-4770-bd7a-fdf4565e6994","5c856dde-d30b-4710-af58-12f51448cf7e","e82ecbe8-7009-4fdb-88e5-b28bc10d04db","99adb00e-4bec-408a-bb7c-0f9e5a0ad03b","2a7254b0-09ac-4cd9-a8a7-715810907bac","22705395-cd65-45bc-969f-f09cf8dc4dc0","82abc2b8-baa1-41b5-836f-1eda961bcef4","8ae7122b-ad4b-46ef-9b23-0177f79f96d3","feddfbf3-1a7b-4af0-8080-ee9ec71fb2a1","fc63ae58-bcb0-482f-92a7-dbb33e266b88","05195c9f-be45-478c-9458-e63b9887ed01","5db6c5e2-19a0-4783-8c6f-438570f26196","2cdaac78-a4db-4178-8855-52b9bea48d00","8a9fba69-fbcb-4d08-8da8-6294bd8768c5","441bab90-6783-4f4d-bd13-401790aaf1dc","56b65197-7565-444b-892d-71e3e6f2024e","a0fb19bf-e285-4dc8-a41e-8761c3849290","7a6ed3a3-c6a8-45da-b02b-ff798acb58d4"],"responses":{"200":"30378877-ad14-4bbe-963e-a90165c51514","400":"9bcb47b5-05b3-42a5-87e5-233bd37587cf","401":"dac57463-9bb8-4c3e-b53d-ea0829680cd7","403":"3447e709-acc7-421b-aaae-92b03883a290","404":"42f7a3f1-f2ca-43bc-8159-583dc7df8801","500":"a9c204a1-4965-43e8-887e-411028bf7b84"},"method":"get","type":"path","servers":["25b9ab43-df3e-47d8-9329-cb94d36170ee"],"path":"/website/{hostname}/campaigns","baseUrlOptions":["http://localhost:8080"],"title":"Get UTM Campaign Stats","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4c549b02-1a52-4e75-9f1e-af22eb80e4fd":{"name":"_me_sess","in":"cookie","description":"Session token for authentication.","required":true,"schema":{"type":"string","example":"_me_sess=token; Path=/; HttpOnly; SameSite=Lax; Secure","isRequired":true,"description":"Session token for authentication.","uniqueKey":"","typeLabel":"string"}},"02839b9c-9f2e-4770-bd7a-fdf4565e6994":{"name":"hostname","in":"path","description":"Hostname for the website.","required":true,"schema":{"type":"string","minLength":1,"maxLength":253,"format":"hostname","isRequired":true,"description":"Hostname for the website.","uniqueKey":"","typeLabel":"string\u003chostname>"}},"5c856dde-d30b-4710-af58-12f51448cf7e":{"name":"summary","in":"query","description":"Return a summary of the stats.","required":false,"schema":{"type":"boolean","default":false,"isRequired":false,"description":"Return a summary of the stats.","uniqueKey":"","typeLabel":"boolean"}},"e82ecbe8-7009-4fdb-88e5-b28bc10d04db":{"name":"start","in":"query","description":"Period start date using date-time notation in RFC3339 format, for example, (2017-07-21T17:32:28Z).","required":false,"schema":{"type":"string","format":"date-time","isRequired":false,"description":"Period start date using date-time notation in RFC3339 format, for example, (2017-07-21T17:32:28Z).","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"99adb00e-4bec-408a-bb7c-0f9e5a0ad03b":{"name":"end","in":"query","description":"Period end date using fdate-time notation in RFC3339 format, for example, (2017-07-21T17:32:28Z).","required":false,"schema":{"type":"string","format":"date-time","isRequired":false,"description":"Period end date using fdate-time notation in RFC3339 format, for example, (2017-07-21T17:32:28Z).","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"2a7254b0-09ac-4cd9-a8a7-715810907bac":{"name":"path","in":"query","description":"Path of the page.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Path of the page.","uniqueKey":"","typeLabel":"object"}},"22705395-cd65-45bc-969f-f09cf8dc4dc0":{"name":"referrer","in":"query","description":"Referrer URL of the page hit.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Referrer URL of the page hit.","uniqueKey":"","typeLabel":"object"}},"82abc2b8-baa1-41b5-836f-1eda961bcef4":{"name":"utm_source","in":"query","description":"UTM source of the page hit.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"UTM source of the page hit.","uniqueKey":"","typeLabel":"object"}},"8ae7122b-ad4b-46ef-9b23-0177f79f96d3":{"name":"utm_medium","in":"query","description":"UTM medium of the page hit.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"UTM medium of the page hit.","uniqueKey":"","typeLabel":"object"}},"feddfbf3-1a7b-4af0-8080-ee9ec71fb2a1":{"name":"utm_campaign","in":"query","description":"UTM campaign of the page hit.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"UTM campaign of the page hit.","uniqueKey":"","typeLabel":"object"}},"fc63ae58-bcb0-482f-92a7-dbb33e266b88":{"name":"browser","in":"query","description":"Browser name.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Browser name.","uniqueKey":"","typeLabel":"object"}},"05195c9f-be45-478c-9458-e63b9887ed01":{"name":"os","in":"query","description":"Operating system name.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Operating system name.","uniqueKey":"","typeLabel":"object"}},"5db6c5e2-19a0-4783-8c6f-438570f26196":{"name":"device","in":"query","description":"Device type.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Device type.","uniqueKey":"","typeLabel":"object"}},"2cdaac78-a4db-4178-8855-52b9bea48d00":{"name":"country","in":"query","description":"Country name.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Country name.","uniqueKey":"","typeLabel":"object"}},"8a9fba69-fbcb-4d08-8da8-6294bd8768c5":{"name":"language","in":"query","description":"Language code.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Language code.","uniqueKey":"","typeLabel":"object"}},"441bab90-6783-4f4d-bd13-401790aaf1dc":{"name":"prop_name","in":"query","description":"Name of the property.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Name of the property.","uniqueKey":"","typeLabel":"object"}},"56b65197-7565-444b-892d-71e3e6f2024e":{"name":"prop_value","in":"query","description":"Value of the property.","required":false,"style":"deepObject","explode":true,"allowReserved":true,"schema":{"type":"object","properties":{"eq":{"type":"string","description":"Equal to.","uniqueKey":"eq","typeLabel":"string"},"neq":{"type":"string","description":"Not equal to.","uniqueKey":"neq","typeLabel":"string"},"contains":{"type":"string","description":"Contains.","uniqueKey":"contains","typeLabel":"string"},"not_contains":{"type":"string","description":"Does not contain.","uniqueKey":"not_contains","typeLabel":"string"},"starts_with":{"type":"string","description":"Starts with.","uniqueKey":"starts_with","typeLabel":"string"},"not_starts_with":{"type":"string","description":"Does not start with.","uniqueKey":"not_starts_with","typeLabel":"string"},"ends_with":{"type":"string","description":"Ends with.","uniqueKey":"ends_with","typeLabel":"string"},"not_ends_with":{"type":"string","description":"Does not end with.","uniqueKey":"not_ends_with","typeLabel":"string"},"in":{"type":"string","description":"In.","uniqueKey":"in","typeLabel":"string"},"not_in":{"type":"string","description":"Not in.","uniqueKey":"not_in","typeLabel":"string"}},"isRequired":false,"description":"Value of the property.","uniqueKey":"","typeLabel":"object"}},"a0fb19bf-e285-4dc8-a41e-8761c3849290":{"name":"limit","in":"query","description":"Limit the number of results.","schema":{"type":"integer","minimum":1,"maximum":5000,"description":"Limit the number of results.","uniqueKey":"","typeLabel":"integer"}},"7a6ed3a3-c6a8-45da-b02b-ff798acb58d4":{"name":"offset","in":"query","description":"Offset the results paired with the limit parameter.","schema":{"type":"integer","minimum":0,"maximum":5000,"description":"Offset the results paired with the limit parameter.","uniqueKey":"","typeLabel":"integer"}}},"responses":{"30378877-ad14-4bbe-963e-a90165c51514":{"description":"OK","headers":{"X-Api-Commit":{"description":"A custom header used to identify the commit of the API. This can be used to force reload the client if the API has been updated.","schema":{"type":"string","example":"97dd2ae"}}},"content":{"application/json":{"schema":{"type":"array","title":"StatsUTMCampaigns","items":{"type":"object","properties":{"campaign":{"type":"string","description":"UTM campaign.","isRequired":true,"uniqueKey":"items.[INDEX].campaign","typeLabel":"string"},"visitors":{"type":"integer","description":"Number of unique visitors from UTM campaign.","isRequired":true,"uniqueKey":"items.[INDEX].visitors","typeLabel":"integer"},"visitors_percentage":{"type":"number","description":"Percentage of unique visitors from UTM campaign relative to all visitors.","format":"float","isRequired":true,"uniqueKey":"items.[INDEX].visitors_percentage","typeLabel":"number\u003cfloat>"},"bounce_percentage":{"type":"number","description":"Bounce rate percentage from UTM campaign.","format":"float","uniqueKey":"items.[INDEX].bounce_percentage","typeLabel":"number\u003cfloat>"},"duration":{"type":"integer","description":"Total time spent on page from UTM campaign in milliseconds.","uniqueKey":"items.[INDEX].duration","typeLabel":"integer"}},"required":["campaign","visitors","visitors_percentage"],"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"StatsUTMCampaigns ยท object[]"},"examples":{"Example":{"title":"Example","value":[{"campaign":"\u003cstring>","visitors":123,"visitors_percentage":123,"bounce_percentage":123,"duration":123}]}},"exampleType":"generated"}},"exampleType":"generated"},"9bcb47b5-05b3-42a5-87e5-233bd37587cf":{"description":"400 Bad Request.","headers":{"X-Api-Commit":{"description":"A custom header used to identify the commit of the API. This can be used to force reload the client if the API has been updated.","schema":{"type":"string","example":"97dd2ae"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"integer","format":"int32","default":400,"isRequired":true,"uniqueKey":"error.code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":400,"message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"dac57463-9bb8-4c3e-b53d-ea0829680cd7":{"description":"401 Unauthorised.","headers":{"X-Api-Commit":{"description":"A custom header used to identify the commit of the API. This can be used to force reload the client if the API has been updated.","schema":{"type":"string","example":"97dd2ae"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"integer","format":"int32","default":401,"isRequired":true,"uniqueKey":"error.code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":401,"message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3447e709-acc7-421b-aaae-92b03883a290":{"description":"403 Forbidden.","headers":{"X-Api-Commit":{"description":"A custom header used to identify the commit of the API. This can be used to force reload the client if the API has been updated.","schema":{"type":"string","example":"97dd2ae"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"integer","format":"int32","default":403,"isRequired":true,"uniqueKey":"error.code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":403,"message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"42f7a3f1-f2ca-43bc-8159-583dc7df8801":{"description":"404 Not Found.","headers":{"X-Api-Commit":{"description":"A custom header used to identify the commit of the API. This can be used to force reload the client if the API has been updated.","schema":{"type":"string","example":"97dd2ae"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"integer","format":"int32","default":404,"isRequired":true,"uniqueKey":"error.code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":404,"message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a9c204a1-4965-43e8-887e-411028bf7b84":{"description":"500 Unexpected Internal Server Error.","headers":{"X-Api-Commit":{"description":"A custom header used to identify the commit of the API. This can be used to force reload the client if the API has been updated.","schema":{"type":"string","example":"97dd2ae"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"integer","format":"int32","default":500,"isRequired":true,"uniqueKey":"error.code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":500,"message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2a8f10fe-b253-4f54-851f-5ab8b0307477":{"CookieAuth":{"name":"_me_sess","in":"cookie","type":"apiKey","description":"Session token for authentication.","scopes":[]}}},"servers":{"25b9ab43-df3e-47d8-9329-cb94d36170ee":{"url":"http://localhost:8080","description":"Local Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"name":"_me_sess","in":"cookie","type":"apiKey","description":"Session token for authentication.","scopes":[]},"schema":{"title":"_me_sess","type":"string","description":"Session token for authentication.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"CookieAuth","name":"_me_sess"}],"title":"CookieAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"medama","siteName":"Medama Analytics","title":"Get UTM Campaign Stats - Medama Analytics","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:44:04.062Z","originalFileLocation":"api-reference/stats/get-utm-campaign-stats.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get a list of UTM campaigns and their stats.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Medama Analytics\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get UTM Campaign Stats - Medama Analytics\">\u003cmeta data-mint-head property=\"og:description\" content=\"Medama Analytics is an open-source project dedicated to providing self-hostable, cookie-free website analytics. With a lightweight tracker of less than 1KB, it aims to offer useful analytics while prioritising user privacy.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Medama Analytics\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://medama.mintlify.site/img/demo.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get UTM Campaign Stats - Medama Analytics\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Medama Analytics is an open-source project dedicated to providing self-hostable, cookie-free website analytics. With a lightweight tracker of less than 1KB, it aims to offer useful analytics while prioritising user privacy.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://medama.mintlify.site/img/demo.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/medama/VvF09eeqgFkQI8yS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Medama Analytics\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#17cd8c\">\u003cmeta data-mint-head name=\"og:logo\" content=\"/logo/banner-dark.svg\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@ayuhitoo\">\u003clink data-mint-head rel=\"canonical\" href=\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/stats/get-utm-campaign-stats.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://medama.mintlify.app/#organization\",\"name\":\"Medama Analytics\",\"url\":\"https://medama.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/medama/YpyW_DRIsi4t2IIc/logo/banner-light.svg?fit=max\u0026auto=format\u0026n=YpyW_DRIsi4t2IIc\u0026q=85\u0026s=27047cdf1925c2658f0c2352de238d39\"}},{\"@type\":\"WebSite\",\"@id\":\"https://medama.mintlify.app#website\",\"name\":\"Medama Analytics\",\"url\":\"https://medama.mintlify.app\",\"publisher\":{\"@id\":\"https://medama.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats#webpage\",\"url\":\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats\",\"name\":\"Get UTM Campaign Stats\",\"description\":\"Get a list of UTM campaigns and their stats.\",\"dateModified\":\"2026-01-06T23:44:04.062Z\",\"isPartOf\":{\"@id\":\"https://medama.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Stats\",\"item\":\"https://medama.mintlify.app/api-reference/stats/get-stat-summary\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get UTM Campaign Stats\",\"item\":\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats#apireference\",\"headline\":\"Get UTM Campaign Stats\",\"name\":\"Get UTM Campaign Stats\",\"description\":\"Get a list of UTM campaigns and their stats.\",\"url\":\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats\",\"mainEntityOfPage\":{\"@id\":\"https://medama.mintlify.app/api-reference/stats/get-utm-campaign-stats#webpage\"},\"image\":\"https://medama.mintlify.app/img/demo.png\",\"dateModified\":\"2026-01-06T23:44:04.062Z\",\"publisher\":{\"@id\":\"https://medama.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://medama.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Medama Analytics\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Medama Analytics","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open-cover","pages":[{"title":"Documentation","href":"/introduction"}]},{"anchor":"API Reference","icon":"code","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Authentication","pages":[{"openapi":"post /auth/login","title":"Login","href":"/api-reference/authentication/login"},{"openapi":"post /auth/logout","title":"Logout","href":"/api-reference/authentication/logout"}]},{"group":"Event","pages":[{"openapi":"post /event/hit","title":"Send Hit Event","href":"/api-reference/event/send-hit-event"},{"openapi":"get /event/ping","title":"Ping","href":"/api-reference/event/ping"}]},{"group":"User","pages":[{"openapi":"get /user","title":"Get User Info","href":"/api-reference/user/get-user-info"},{"openapi":"delete /user","title":"Delete User","href":"/api-reference/user/delete-user"},{"openapi":"patch /user","title":"Update User Info","href":"/api-reference/user/update-user-info"},{"openapi":"get /user/usage","title":"Get Resource Usage","href":"/api-reference/user/get-resource-usage"}]},{"group":"Website","pages":[{"openapi":"get /websites","title":"List Websites","href":"/api-reference/website/list-websites"},{"openapi":"post /websites","title":"Add Website","href":"/api-reference/website/add-website"},{"openapi":"get /websites/{hostname}","title":"Get Website","href":"/api-reference/website/get-website"},{"openapi":"delete /websites/{hostname}","title":"Delete Website","href":"/api-reference/website/delete-website"},{"openapi":"patch /websites/{hostname}","title":"Update Website","href":"/api-reference/website/update-website"}]},{"group":"Stats","pages":[{"openapi":"get /website/{hostname}/summary","title":"Get Stat Summary","href":"/api-reference/stats/get-stat-summary"},{"openapi":"get /website/{hostname}/pages","title":"Get Page Stats","href":"/api-reference/stats/get-page-stats"},{"openapi":"get /website/{hostname}/time","title":"Get Time Stats","href":"/api-reference/stats/get-time-stats"},{"openapi":"get /website/{hostname}/referrers","title":"Get Referrer Stats","href":"/api-reference/stats/get-referrer-stats"},{"openapi":"get /website/{hostname}/sources","title":"Get UTM Source Stats","href":"/api-reference/stats/get-utm-source-stats"},{"openapi":"get /website/{hostname}/mediums","title":"Get UTM Medium Stats","description":"Get a list of UTM mediums and their stats.","href":"/api-reference/stats/get-utm-medium-stats"},{"openapi":"get /website/{hostname}/campaigns","title":"Get UTM Campaign Stats","href":"/api-reference/stats/get-utm-campaign-stats"},{"openapi":"get /website/{hostname}/browsers","title":"Get Browser Stats","description":"Get a list of browsers and their stats.","href":"/api-reference/stats/get-browser-stats"},{"openapi":"get /website/{hostname}/os","title":"Get OS Stats","href":"/api-reference/stats/get-os-stats"},{"openapi":"get /website/{hostname}/devices","title":"Get Device Stats","href":"/api-reference/stats/get-device-stats"},{"openapi":"get /website/{hostname}/countries","title":"Get Country Stats","href":"/api-reference/stats/get-country-stats"},{"openapi":"get /website/{hostname}/languages","title":"Get Language Stats","href":"/api-reference/stats/get-language-stats"},{"openapi":"get /website/{hostname}/properties","title":"Get Property Stats","href":"/api-reference/stats/get-property-stats"}]}]},{"anchor":"Demo","href":"https://demo.medama.io","icon":"laptop"},{"anchor":"Discord","href":"https://medama.io/discord","icon":"discord"},{"anchor":"GitHub","href":"https://github.com/medama-io/medama","icon":"github"}]},"basePath":"","title":"Get UTM Campaign Stats - Medama Analytics","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}