{"id":34076,"date":"2023-01-28T19:20:08","date_gmt":"2023-01-28T22:20:08","guid":{"rendered":"https:\/\/hml2.stract.to\/blog\/nao-categorizado\/how-to-calculate-your-cost-metrics\/"},"modified":"2023-01-28T19:20:08","modified_gmt":"2023-01-28T22:20:08","slug":"how-to-calculate-your-cost-metrics","status":"publish","type":"post","link":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/","title":{"rendered":"How to Calculate Your Cost Metrics?"},"content":{"rendered":"<p>A common question is how to work with calculated metrics such as CPM, CPC, CTR, and others.<br \/>This happens because, when you bring data from your accounts into Stract and select fields like CTR or CPC, you&#8217;ll get something like this table:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2454 \" src=\"https:\/\/hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.08.18.png\" alt=\"\" width=\"787\" height=\"271\" srcset=\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.08.18.png 1285w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.08.18-300x103.png 300w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.08.18-1024x353.png 1024w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.08.18-768x265.png 768w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.08.18-600x207.png 600w\" sizes=\"auto, (max-width: 787px) 100vw, 787px\" \/><\/p>\n<p>When you connect your table to Data Studio and use the CTR and CPM fields, you&#8217;ll notice that the data doesn\u2019t match the manager and the real value of these metrics for the period.<br \/>This is due to the aggregation that Data Studio applies to composite metrics:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2455 size-full\" src=\"https:\/\/hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.11.09.png\" alt=\"\" width=\"806\" height=\"338\" srcset=\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.11.09.png 806w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.11.09-300x126.png 300w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.11.09-768x322.png 768w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.11.09-600x252.png 600w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/p>\n<p>Even if you change the aggregation to &#8220;average&#8221; instead of &#8220;sum,&#8221; Data Studio will still generate different results:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2457 size-full\" src=\"https:\/\/hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.15.55.png\" alt=\"\" width=\"624\" height=\"237\" srcset=\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.15.55.png 624w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.15.55-300x114.png 300w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.15.55-600x228.png 600w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>In some cases, the difference might be small, but in general, it\u2019s recommended to work with the calculation inside Data Studio.<\/p>\n<h2>To create your calculated metric in Data Studio:<\/h2>\n<p>Access your Google Data Studio report and create a custom field:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2456 size-full\" src=\"https:\/\/hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.17.46.png\" alt=\"\" width=\"577\" height=\"263\" srcset=\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.17.46.png 577w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.17.46-300x137.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/p>\n<p>To calculate the cost per any desired metric, you\u2019ll use a formula similar to this:<\/p>\n<p><strong>SUM(Cost) \/ SUM(Metric)<\/strong><\/p>\n<p>The SUM represents the total cost divided by the selected metric. Using Stract\u2019s fields, it would look like this: <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2458 size-full\" src=\"https:\/\/hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.17.32.png\" alt=\"\" width=\"455\" height=\"193\" srcset=\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.17.32.png 455w, https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/Captura-de-Tela-2023-01-28-as-16.17.32-300x127.png 300w\" sizes=\"auto, (max-width: 455px) 100vw, 455px\" \/><\/p>\n<p>With that, you just need to create the calculated fields for each metric, such as Cost\/Conversion, Conversion Rate, etc.<br \/>One note: the CTR sent by the Facebook Ads API needs to be divided by 100.<br \/>If the data still shows discrepancies with the Manager, it\u2019s worth checking the support articles: <\/p>\n<ul>\n<li><a href=\"https:\/\/hml2.stract.to\/blog\/suporte\/janelas-de-atribuicao-no-facebook-ads\/\">Attribution Windows in Facebook Ads<\/a><\/li>\n<li><a href=\"https:\/\/hml2.stract.to\/blog\/suporte\/divergencias-nos-dados-no-facebook-ads\/\">Data Discrepancies in Facebook Ads<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A common question is how to work with calculated metrics such as CPM, CPC, CTR, and others.This happens because, when you bring data from your accounts into Stract and select fields like CTR or CPC, you&#8217;ll get something like this table: When you connect your table to Data Studio and use the CTR and CPM [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":30385,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34076","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Calculate Your Cost Metrics? - Stract<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Calculate Your Cost Metrics? - Stract\" \/>\n<meta property=\"og:description\" content=\"A common question is how to work with calculated metrics such as CPM, CPC, CTR, and others.This happens because, when you bring data from your accounts into Stract and select fields like CTR or CPC, you&#8217;ll get something like this table: When you connect your table to Data Studio and use the CTR and CPM [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/\" \/>\n<meta property=\"og:site_name\" content=\"Stract\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hml2.stract.tool\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-28T22:20:08+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png\" \/>\n\t<meta property=\"og:image:width\" content=\"935\" \/>\n\t<meta property=\"og:image:height\" content=\"587\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"str_admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@stract_to\" \/>\n<meta name=\"twitter:site\" content=\"@stract_to\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"str_admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/\"},\"author\":{\"name\":\"str_admin\",\"@id\":\"https:\/\/hml2.stract.to\/#\/schema\/person\/e63ade17db634c8c1f74865ad47cc95f\"},\"headline\":\"How to Calculate Your Cost Metrics?\",\"datePublished\":\"2023-01-28T22:20:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/\"},\"wordCount\":258,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/\",\"url\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/\",\"name\":\"How to Calculate Your Cost Metrics? - Stract\",\"isPartOf\":{\"@id\":\"https:\/\/hml2.stract.to\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png\",\"datePublished\":\"2023-01-28T22:20:08+00:00\",\"author\":{\"@id\":\"https:\/\/hml2.stract.to\/#\/schema\/person\/e63ade17db634c8c1f74865ad47cc95f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#primaryimage\",\"url\":\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png\",\"contentUrl\":\"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png\",\"width\":935,\"height\":587},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/www.hml2.stract.to\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Calculate Your Cost Metrics?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hml2.stract.to\/#website\",\"url\":\"https:\/\/hml2.stract.to\/\",\"name\":\"Stract\",\"description\":\"Alternativa ao Supermetrics e Adveronix\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hml2.stract.to\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hml2.stract.to\/#\/schema\/person\/e63ade17db634c8c1f74865ad47cc95f\",\"name\":\"str_admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hml2.stract.to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5ca621081e3313df0910f4f85f29b988e4384ff9947e862c8b1b29324737210d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5ca621081e3313df0910f4f85f29b988e4384ff9947e862c8b1b29324737210d?s=96&d=mm&r=g\",\"caption\":\"str_admin\"},\"sameAs\":[\"https:\/\/hml2.stract.to\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Calculate Your Cost Metrics? - Stract","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"How to Calculate Your Cost Metrics? - Stract","og_description":"A common question is how to work with calculated metrics such as CPM, CPC, CTR, and others.This happens because, when you bring data from your accounts into Stract and select fields like CTR or CPC, you&#8217;ll get something like this table: When you connect your table to Data Studio and use the CTR and CPM [&hellip;]","og_url":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/","og_site_name":"Stract","article_publisher":"https:\/\/www.facebook.com\/hml2.stract.tool","article_published_time":"2023-01-28T22:20:08+00:00","og_image":[{"width":935,"height":587,"url":"http:\/\/hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png","type":"image\/png"}],"author":"str_admin","twitter_card":"summary_large_image","twitter_creator":"@stract_to","twitter_site":"@stract_to","twitter_misc":{"Written by":"str_admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#article","isPartOf":{"@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/"},"author":{"name":"str_admin","@id":"https:\/\/hml2.stract.to\/#\/schema\/person\/e63ade17db634c8c1f74865ad47cc95f"},"headline":"How to Calculate Your Cost Metrics?","datePublished":"2023-01-28T22:20:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/"},"wordCount":258,"commentCount":0,"image":{"@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/","url":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/","name":"How to Calculate Your Cost Metrics? - Stract","isPartOf":{"@id":"https:\/\/hml2.stract.to\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#primaryimage"},"image":{"@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png","datePublished":"2023-01-28T22:20:08+00:00","author":{"@id":"https:\/\/hml2.stract.to\/#\/schema\/person\/e63ade17db634c8c1f74865ad47cc95f"},"breadcrumb":{"@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#primaryimage","url":"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png","contentUrl":"https:\/\/www.hml2.stract.to\/wp-content\/uploads\/2023\/01\/post.png","width":935,"height":587},{"@type":"BreadcrumbList","@id":"https:\/\/www.hml2.stract.to\/en\/blog\/uncategorized\/how-to-calculate-your-cost-metrics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.hml2.stract.to\/en\/"},{"@type":"ListItem","position":2,"name":"How to Calculate Your Cost Metrics?"}]},{"@type":"WebSite","@id":"https:\/\/hml2.stract.to\/#website","url":"https:\/\/hml2.stract.to\/","name":"Stract","description":"Alternativa ao Supermetrics e Adveronix","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hml2.stract.to\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/hml2.stract.to\/#\/schema\/person\/e63ade17db634c8c1f74865ad47cc95f","name":"str_admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hml2.stract.to\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5ca621081e3313df0910f4f85f29b988e4384ff9947e862c8b1b29324737210d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5ca621081e3313df0910f4f85f29b988e4384ff9947e862c8b1b29324737210d?s=96&d=mm&r=g","caption":"str_admin"},"sameAs":["https:\/\/hml2.stract.to"]}]}},"_links":{"self":[{"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/posts\/34076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/comments?post=34076"}],"version-history":[{"count":0,"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/posts\/34076\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/media\/30385"}],"wp:attachment":[{"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/media?parent=34076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/categories?post=34076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hml2.stract.to\/en\/wp-json\/wp\/v2\/tags?post=34076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}