{"id":121595,"date":"2025-03-09T06:35:24","date_gmt":"2025-03-09T06:35:24","guid":{"rendered":"https:\/\/peraltafinancing.com\/analytics\/google-analytics-settings-variable-in-gtm\/"},"modified":"2025-03-09T06:35:24","modified_gmt":"2025-03-09T06:35:24","slug":"google-analytics-settings-variable-in-gtm","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=121595","title":{"rendered":"Google Analytics Settings Variable In GTM"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p>Let\u2019s face it &#8211; most of us use <a href=\"https:\/\/tagmanager.google.com\/\">Google Tag Manager<\/a> for one main purpose: to deploy and configure <a href=\"https:\/\/analytics.google.com\">Google Analytics<\/a> tracking on a website. I\u2019d wager that once you start using GTM, you won\u2019t be implementing Universal Analytics the old-fashioned way, with on-page code, any more. But running Universal Analytics tags through GTM isn\u2019t yet a perfect workflow. We\u2019re still missing things like proper <a href=\"https:\/\/www.simoahava.com\/analytics\/universal-analytics-plugins-explained\/\">plugin<\/a> support and the option to properly differentiate between the <em>tracker<\/em> and the <em>hit<\/em> &#8211; both of which are easy to do with an on-page implementation.<\/p>\n<p>For me, and I\u2019m sure for many others, one of the biggest problems with Universal Analytics has been how to manage scale. Once you have dozens of tags that have some settings configured in a specific way, e.g. cross-domain tracking settings or custom page paths, it becomes a nightmare to update each and every one when you want to make a change to one of these generic settings. Well, it\u2019s been a long time coming, but Google Tag Manager just introduced a feature to help us with this: the <strong>Google Analytics Settings variable<\/strong>.<\/p>\n<div style=\"aspect-ratio: 1810 \/ 1320;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/03\/google-analytics-settings-variable.jpg\" title=\"Google Analytics Settings variable\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"1320\" width=\"1810\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/03\/google-analytics-settings-variable.jpg#ZgotmplZ\" alt=\"Google Analytics Settings variable\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>The variable contains the fields you\u2019ll find under \u201cMore Settings\u201d of Universal Analytics tags, combined with some set fields that are (typically) absolutely necessary to include in all tags anyway (<strong>Tracking ID<\/strong> and <code>cookieDomain<\/code>, specifically). The advent of this new variable type gives you <strong>three<\/strong> ways to create and manage Universal Analytics tags:<\/p>\n<ol>\n<li>\n<p>Copy all settings from the <strong>Google Analytics Settings variable<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Don\u2019t use a Google Analytics Settings variable at all, and instead set all fields manually.<\/p>\n<\/li>\n<li>\n<p>Use a combination of both: set the fields with a Google Analytics Settings variable, and then overwrite some of the fields with custom values on a tag-by-tag basis.<\/p>\n<\/li>\n<\/ol>\n<p>This gives you a <strong>lot<\/strong> of flexibility to work with.<\/p>\n<p>The <strong>Google Analytics Settings variable<\/strong> is available in your web containers as well as your mobile Firebase containers.<\/p>\n<p>                <span class=\"simmer\"><br \/>\n  <span class=\"close\">X<\/span><\/p>\n<p>\n    <span class=\"fa fa-md fa-bell\"\/><br \/>\n    <strong>The Simmer Newsletter<\/strong>\n  <\/p>\n<p>\n    Subscribe to the <a href=\"https:\/\/www.simoahava.com\/newsletter\/\">Simmer newsletter<\/a> to get the latest news and content from Simo Ahava into your email inbox!\n  <\/p>\n<p>  <\/span><\/p>\n<h2 id=\"the-google-analytics-settings-variable\">The Google Analytics Settings variable<\/h2>\n<p>You can find the new variable in the variable creation menu that pops open when you start building a new <strong>User-Defined Variable<\/strong>.<\/p>\n<div style=\"aspect-ratio: 2830 \/ 940;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/03\/select-variable-menu.jpg\" title=\"Select variable menu\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"940\" width=\"2830\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/03\/select-variable-menu.jpg#ZgotmplZ\" alt=\"Select variable menu\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>The first thing you\u2019ll notice is that the <strong>Cookie Domain<\/strong> field is auto-populated with the value <code>auto<\/code>. This is an excellent change, and removes one of the key differences between the recommended <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/analyticsjs\/#the_javascript_tracking_snippet\">analytics.js tracking code<\/a> (which has <code>auto<\/code> as the default value for <code>cookieDomain<\/code>) and the default Universal Analytics tag template in Google Tag Manager (which does not have a <code>cookieDomain<\/code> value set at all).<\/p>\n<p>Note that the <strong>Tracking ID<\/strong> field is required, so add your Universal Analytics property tracking ID or a variable you\u2019ve used before to it before saving the new variable.<\/p>\n<p>If you click <strong>More Settings<\/strong> you\u2019ll find all the fields available for configuration in Universal Analytics tag templates. You can set these as you wish, remembering that they will be applied to all tags that use this variable.<\/p>\n<div style=\"aspect-ratio: 1798 \/ 1246;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/03\/fields-in-google-analytics-settings.jpg\" title=\"Fields in a Google Analytics Settings variable\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"1246\" width=\"1798\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/03\/fields-in-google-analytics-settings.jpg#ZgotmplZ\" alt=\"Fields in a Google Analytics Settings variable\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>Note that obvious conflicts are resolved automatically. If you <strong>Enable Enhanced Ecommerce Features<\/strong> in your Google Analytics Settings variable, and then add this variable to a <strong>Timing<\/strong> type Universal Analytics tag, the Timing tag won\u2019t magically turn into an Enhanced Ecommerce enabled tag. Since Enhanced Ecommerce hits can only be sent with Page View and Event tags, this particular setting is simply ignored in incompatible tag types.<\/p>\n<p>To add your settings to tags, you\u2019ll find a new drop-down under the heading <strong>Google Analytics Settings<\/strong> that instructs you to select a variable from the list. You can also start a new variable creation workflow from this menu.<\/p>\n<div style=\"aspect-ratio: 895 \/ 393;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/05\/ua-pageview-settings.jpg\" title=\"Universal Analytics google analytics settings variable\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"393\" width=\"895\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/05\/ua-pageview-settings.jpg#ZgotmplZ\" alt=\"Universal Analytics google analytics settings variable\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>As you can see, you can still configure the <strong>Advanced Settings<\/strong> individually for this tag. That\u2019s because Advanced Settings have nothing to do with Google Analytics &#8211; all tags in Google Tag Manager have these same Advanced Settings fields.<\/p>\n<p>You\u2019ll still need to add individual triggers to this tag. Again, triggers are not specific to Universal Analytics tags. The Google Analytics Settings variable <em>only<\/em> conflates all Google Analytics settings into a single variable configuration.<\/p>\n<p>As I mentioned in the introduction of this article, there are three ways to implement a Google Analytics Settings variable in your Universal Analytics tags. The first one is in the screenshot above. When you apply the variable and save the tag, <strong>all Google Analytics settings<\/strong> are derived from the variable. This is definitely the most light-weight and straightforward way to implement the variable.<\/p>\n<p>The second way is to ignore the variable completely, and just create an individual, one-off tag. In this case, you need to do two things:<\/p>\n<ol>\n<li>\n<p>Leave <strong>Select Settings Variable\u2026<\/strong> as the value of the drop-down.<\/p>\n<\/li>\n<li>\n<p>Check the box next to <strong>Enable overriding settings in this tag<\/strong>.<\/p>\n<\/li>\n<\/ol>\n<p>Once you do these two things, you\u2019ll completely ignore any Google Analytics Settings variables and just configure the tag independently. A very useful thing to still have, especially if you want to do some quick prototyping.<\/p>\n<p>The third way to implement the settings variable is a combination of the two methods above. This is useful if you want the benefit of the settings, but you want to make some adjustments for this tag in particular. For example, I might want to use my \u201cGA Settings &#8211; Enhanced Ecommerce\u201d settings in my <strong>Add To Cart<\/strong> event tag, so that it makes use of all the settings I\u2019ve configured for my Enhanced Ecommerce tags. But I want to make a small adjustment: I want to use a Custom JavaScript Variable for the Enhanced Ecommerce payload instead of dataLayer. This is what this modification would look like:<\/p>\n<div style=\"aspect-ratio: 890 \/ 817;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/05\/overridden-settings.jpg\" title=\"Overridden settings in the tag\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"817\" width=\"890\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/05\/overridden-settings.jpg#ZgotmplZ\" alt=\"Overridden settings in the tag\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>If you use a Google Analytics Settings variable, all fields that you set in that variable are inherited in the tag that uses the variable. You can always override the fields, but it might be difficult to remember just which fields have been set.<\/p>\n<p>For this conundrum, there\u2019s a <strong>brilliant<\/strong> UI workflow update. See the little <strong>(I)<\/strong> icons in the screenshot above, marked with a yellow star? When you click that icon, an overlay opens with the variable in question for you to review or even edit! You can now modify or edit variables mid-workflow, without having to leave the tag settings to make adjustments.<\/p>\n<p>This is, naturally, vital for the Google Analytics Settings variable as well, because you want to be careful you\u2019re not overriding fields that should not be overridden. It would be helpful to see the actual modified values and settings inherited from the variable in the tag itself, but I guess there are technical limitations why this is not (yet) possible.<\/p>\n<h2 id=\"ideas-for-use\">Ideas for use<\/h2>\n<p>Here are three types of Google Analytics Settings variables I use in my projects.<\/p>\n<h3 id=\"1-general-settings\">1. General settings<\/h3>\n<p>This is the one I use as a generic settings variable in tags that have no special function (e.g. regular Page View and Event tags).<\/p>\n<div style=\"aspect-ratio: 1762 \/ 1128;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/03\/generic-settings.jpg\" title=\"Generic Google Analytics Settings\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"1128\" width=\"1762\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/03\/generic-settings.jpg#ZgotmplZ\" alt=\"Generic Google Analytics Settings\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>These are fields I use in all my tags.<\/p>\n<h3 id=\"2-cross-domain-tracking\">2. Cross-domain tracking<\/h3>\n<p>If I have a rollup property to which I collect cross-domain tracking data, I have a Google Analytics Settings variable for that, too.<\/p>\n<div style=\"aspect-ratio: 1792 \/ 1292;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/03\/ga-settings-cross-domain.jpg\" title=\"Cross-domain settings\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"1292\" width=\"1792\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/03\/ga-settings-cross-domain.jpg#ZgotmplZ\" alt=\"Cross-domain settings\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>And in all my rollup tags, I would have the settings from above. If I had rollup tags that have BOTH Enhanced Ecommerce and cross-domain requirements, I would set them up with cross-domain tracking settings and then manually add the Enhanced Ecommerce settings.<\/p>\n<h3 id=\"3-enhanced-ecommerce-settings\">3. Enhanced Ecommerce settings<\/h3>\n<p>And finally, I have a generic settings template for all Enhanced Ecommerce tags.<\/p>\n<div style=\"aspect-ratio: 1794 \/ 1012;\" class=\"figure nocaption\">\n<p>    <a href=\"https:\/\/www.simoahava.com\/images\/2017\/03\/ga-settings-enhanced-ecommerce.jpg\" title=\"GA Settings Enhanced Ecommerce\"><\/p>\n<p>    <img decoding=\"async\" class=\"fig-img\" height=\"1012\" width=\"1794\" loading=\"lazy\" src=\"https:\/\/www.simoahava.com\/images\/2017\/03\/ga-settings-enhanced-ecommerce.jpg#ZgotmplZ\" alt=\"GA Settings Enhanced Ecommerce\"\/><\/p>\n<p>    <\/a><\/p>\n<\/div>\n<p>With this tag, I can setup simple Enhanced Ecommerce settings for all my EEC tags. In some special cases, I can override these default settings with custom stuff.<\/p>\n<h2 id=\"summary\">Summary<\/h2>\n<p>This is a pretty smooth feature for managing your Universal Analytics tags. I firmly believe this is a great timesaver, as it will help you avoid typical data quality mishaps with misconfigured tags. With the Google Analytics Settings variable, it\u2019s also easy to help new users become accustomed with your data collection configuration. New users, typically, are the weakest link for data quality, as they might not know all the settings the Universal Analytics tags in your organization should be configured with.<\/p>\n<p>If there\u2019s one thing I\u2019m missing it\u2019s variable chaining. I would like to be able to use a Google Analytics Settings variable <strong>within<\/strong> a Google Analytics Settings variable. In the three examples of the previous chapter, you can see that all these settings variables share the same Custom Dimensions. I would like to specify that all these three settings variable use <em>another<\/em> settings variable as the base, and then simply add\/modify all the necessary settings. This way I could create a hierarchy of settings variables, making it even more unlikely that misconfigured fields lead to data quality issues.<\/p>\n<p>Naturally, chaining variables can lead to issues, too, so proper governance and common sense would still rule.<\/p>\n<p>Do you have some \u201cgo-to\u201d settings configurations in your tags, for which you could leverage the new settings variable?<\/p>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s face it &#8211; most of us use Google Tag Manager for one main purpose: to deploy and configure Google Analytics tracking on a website. I\u2019d wager that once you start using GTM, you won\u2019t be implementing Universal Analytics the old-fashioned way, with on-page code, any more. But running Universal Analytics tags through GTM isn\u2019t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":121596,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12033],"tags":[12765,1531,32680,5501,15112],"dealstore":[],"offerexpiration":[],"class_list":["post-121595","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-analytics","tag-google","tag-gtm","tag-settings","tag-variable"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Google Analytics Settings Variable In GTM - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fivemor.com\/?p=121595\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Analytics Settings Variable In GTM - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"Let\u2019s face it &#8211; most of us use Google Tag Manager for one main purpose: to deploy and configure Google Analytics tracking on a website. I\u2019d wager that once you start using GTM, you won\u2019t be implementing Universal Analytics the old-fashioned way, with on-page code, any more. But running Universal Analytics tags through GTM isn\u2019t [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=121595\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-09T06:35:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1810\" \/>\n\t<meta property=\"og:image:height\" content=\"1320\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=121595#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=121595\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"Google Analytics Settings Variable In GTM\",\"datePublished\":\"2025-03-09T06:35:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=121595\"},\"wordCount\":1511,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=121595#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg\",\"keywords\":[\"Analytics\",\"Google\",\"GTM\",\"Settings\",\"variable\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=121595#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=121595\",\"url\":\"https:\/\/fivemor.com\/?p=121595\",\"name\":\"Google Analytics Settings Variable In GTM - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=121595#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=121595#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg\",\"datePublished\":\"2025-03-09T06:35:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=121595#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=121595\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=121595#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg\",\"width\":1810,\"height\":1320},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=121595#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google Analytics Settings Variable In GTM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google Analytics Settings Variable In GTM - Som2ny Network","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fivemor.com\/?p=121595","og_locale":"en_US","og_type":"article","og_title":"Google Analytics Settings Variable In GTM - Som2ny Network","og_description":"Let\u2019s face it &#8211; most of us use Google Tag Manager for one main purpose: to deploy and configure Google Analytics tracking on a website. I\u2019d wager that once you start using GTM, you won\u2019t be implementing Universal Analytics the old-fashioned way, with on-page code, any more. But running Universal Analytics tags through GTM isn\u2019t [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=121595","og_site_name":"Som2ny Network","article_published_time":"2025-03-09T06:35:24+00:00","og_image":[{"width":1810,"height":1320,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=121595#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=121595"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"Google Analytics Settings Variable In GTM","datePublished":"2025-03-09T06:35:24+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=121595"},"wordCount":1511,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=121595#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg","keywords":["Analytics","Google","GTM","Settings","variable"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=121595#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=121595","url":"https:\/\/fivemor.com\/?p=121595","name":"Google Analytics Settings Variable In GTM - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=121595#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=121595#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg","datePublished":"2025-03-09T06:35:24+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=121595#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=121595"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=121595#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/03\/google-analytics-settings-variable.jpg","width":1810,"height":1320},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=121595#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"Google Analytics Settings Variable In GTM"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/121595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=121595"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/121595\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/121596"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=121595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=121595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=121595"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=121595"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=121595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}