{"id":7006,"date":"2024-06-24T15:05:20","date_gmt":"2024-06-24T15:05:20","guid":{"rendered":"https:\/\/lite14.net\/blog\/?p=7006"},"modified":"2024-06-24T15:05:20","modified_gmt":"2024-06-24T15:05:20","slug":"how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager","status":"publish","type":"post","link":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/","title":{"rendered":"How to set up tracking for dynamic URLs in Google Tag Manager"},"content":{"rendered":"<p>As a marketer, you know how crucial it is to track the performance of your website&#8217;s URLs. With the ever-changing landscape of online marketing, it&#8217;s essential to have a robust tracking system in place to monitor and optimize your campaigns. Google Tag Manager (GTM) is a powerful tool that allows you to do just that. In this guide, we&#8217;ll walk you through the process of setting up tracking for dynamic URLs in Google Tag Manager.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#What_are_Dynamic_URLs\" >What are Dynamic URLs?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#Why_Track_Dynamic_URLs\" >Why Track Dynamic URLs?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#Setting_up_Tracking_for_Dynamic_URLs_in_Google_Tag_Manager\" >Setting up Tracking for Dynamic URLs in Google Tag Manager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#_1_Create_a_New_Variable_in_GTM\" >\u00a01. Create a New Variable in GTM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#2_Write_a_Custom_JavaScript_Function\" >2. Write a Custom JavaScript Function<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#3_Use_the_Custom_Variable_in_a_Trigger\" >3. Use the Custom Variable in a Trigger<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#4_Create_a_Tag\" >4. Create a Tag<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#_5_Configure_the_Tag\" >\u00a05. Configure the Tag<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#_6_Deploy_and_Verify\" >\u00a06. Deploy and Verify<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#Tips_and_Best_Practices\" >Tips and Best Practices<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"What_are_Dynamic_URLs\"><\/span>What are Dynamic URLs?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before we dive into the setup process, let&#8217;s define what dynamic URLs are. A dynamic URL is a URL that changes dynamically based on user interactions, such as clicking a button, selecting an option, or filling out a form. These URLs can be challenging to track because they don&#8217;t have a fixed pattern or structure.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_Track_Dynamic_URLs\"><\/span>Why Track Dynamic URLs?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Tracking dynamic URLs is crucial for several reasons:<\/p>\n<p>1. <strong>Improved Conversion Tracking:<\/strong> By tracking dynamic URLs, you can accurately measure conversions and understand which specific actions lead to sales, sign-ups, or other desired outcomes.<br \/>\n2. <strong>Enhanced User Experience:<\/strong> Dynamic URL tracking helps you identify areas of the website that require optimization, ensuring a better user experience for your visitors.<br \/>\n<strong>3. Data-Driven Decision Making<\/strong>: With accurate data on dynamic URLs, you can make informed decisions about your marketing strategy and optimize your campaigns more effectively.<br \/>\n<strong>4. Better ROI Analysis:<\/strong> Tracking dynamic URLs allows you to analyze the return on investment (ROI) of your marketing campaigns and make data-driven decisions about where to allocate your budget.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Setting_up_Tracking_for_Dynamic_URLs_in_Google_Tag_Manager\"><\/span>Setting up Tracking for Dynamic URLs in Google Tag Manager<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To set up tracking for dynamic URLs in Google Tag Manager, follow these steps:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"_1_Create_a_New_Variable_in_GTM\"><\/span>\u00a01. Create a New Variable in GTM<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>In your GTM account, navigate to the &#8220;Variables&#8221; tab and click &#8220;New&#8221; to create a new variable. Choose &#8220;Custom JavaScript&#8221; as the variable type and name it something like &#8220;Dynamic URL&#8221;.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"2_Write_a_Custom_JavaScript_Function\"><\/span>2. Write a Custom JavaScript Function<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>In the &#8220;Custom JavaScript&#8221; field, write a function that captures the dynamic URL value. For example:<br \/>\n&#8220;`javascript<br \/>\nfunction() {<br \/>\nvar url = window.location.href;<br \/>\nreturn url;<br \/>\n}This function uses the `window.location.href` property to capture the current URL.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"3_Use_the_Custom_Variable_in_a_Trigger\"><\/span>3. Use the Custom Variable in a Trigger<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>In the &#8220;Triggers&#8221; tab, click &#8220;New&#8221; and choose &#8220;Custom Event&#8221; as the trigger type. Name the trigger something like &#8220;Dynamic URL Trigger&#8221;. Set the trigger to fire on every hit (i.e., every time a page loads).<\/li>\n<li>In the &#8220;Trigger Configuration&#8221; section, select &#8220;Custom&#8221; as the trigger type and enter the custom variable you created in Step 1 (e.g., `{{Dynamic URL}}`).<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"4_Create_a_Tag\"><\/span>4. Create a Tag<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>In the &#8220;Tags&#8221; tab, click &#8220;New&#8221; and choose &#8220;Google Analytics&#8221; as the tag type. Name the tag something like &#8220;Dynamic URL Tracker&#8221;. Set the tracking ID to your Google Analytics property ID.<\/li>\n<li>In the &#8220;Track Type&#8221; section, select &#8220;Pageview&#8221; as the track type.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"_5_Configure_the_Tag\"><\/span>\u00a05. Configure the Tag<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>In the &#8220;Tag Configuration&#8221; section, select &#8220;Use custom HTML\/JavaScript&#8221; and paste the following code:<br \/>\n&#8220;`html<br \/>\n&lt;script&gt;<br \/>\nga(&#8216;set&#8217;, &#8216;dimension1&#8217;, {{Dynamic URL}});<br \/>\n&lt;\/script&gt;<br \/>\n&#8220;`<br \/>\nThis code sets a custom dimension in Google Analytics using the `ga` tracking object and passes the dynamic URL value captured by our custom variable.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"_6_Deploy_and_Verify\"><\/span>\u00a06. Deploy and Verify<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Deploy your changes to your website by clicking &#8220;Publish&#8221; in GTM. Verify that your dynamic URL tracking is working correctly by checking your Google Analytics reports for pageviews with the custom dimension populated.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Tips_and_Best_Practices\"><\/span>Tips and Best Practices<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Make sure to test your setup by simulating different user interactions on your website to ensure that the dynamic URL tracking is capturing expected values.<\/li>\n<li>Consider using GTM&#8217;s built-in variables like `{{Click Element}}` or `{{Event}}` instead of writing custom JavaScript functions.<\/li>\n<li>Use dimension groups to organize and categorize your custom dimensions in Google Analytics.<\/li>\n<li>Consider using segmentation in Google Analytics to filter out irrelevant data and gain more insights from your dynamic URL tracking.<\/li>\n<\/ol>\n<p>Setting up tracking for dynamic URLs in Google Tag Manager requires some effort, but it&#8217;s a crucial step in understanding how users interact with your website. By following these steps and tips, you&#8217;ll be able to track dynamic URLs accurately and make data-driven decisions to improve your marketing strategy. Remember to test thoroughly and verify your setup to ensure accurate tracking.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a marketer, you know how crucial it is to track the performance of your website&#8217;s URLs. With the ever-changing landscape of online marketing, it&#8217;s&#8230;<\/p>\n","protected":false},"author":210,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[270],"tags":[],"class_list":["post-7006","post","type-post","status-publish","format-standard","hentry","category-digital-marketing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to set up tracking for dynamic URLs in Google Tag Manager - Lite14 Tools &amp; Blog<\/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:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up tracking for dynamic URLs in Google Tag Manager - Lite14 Tools &amp; Blog\" \/>\n<meta property=\"og:description\" content=\"As a marketer, you know how crucial it is to track the performance of your website&#8217;s URLs. With the ever-changing landscape of online marketing, it&#8217;s...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Lite14 Tools &amp; Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-24T15:05:20+00:00\" \/>\n<meta name=\"author\" content=\"admin3\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin3\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/\"},\"author\":{\"name\":\"admin3\",\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/person\/3fcb0f4c8bd53264d6447eb6a6d36e81\"},\"headline\":\"How to set up tracking for dynamic URLs in Google Tag Manager\",\"datePublished\":\"2024-06-24T15:05:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/\"},\"wordCount\":709,\"publisher\":{\"@id\":\"https:\/\/lite14.net\/blog\/#organization\"},\"articleSection\":[\"Digital Marketing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/\",\"url\":\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/\",\"name\":\"How to set up tracking for dynamic URLs in Google Tag Manager - Lite14 Tools &amp; Blog\",\"isPartOf\":{\"@id\":\"https:\/\/lite14.net\/blog\/#website\"},\"datePublished\":\"2024-06-24T15:05:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lite14.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up tracking for dynamic URLs in Google Tag Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lite14.net\/blog\/#website\",\"url\":\"https:\/\/lite14.net\/blog\/\",\"name\":\"Lite14 Tools &amp; Blog\",\"description\":\"Email Marketing Tools &amp; Digital Marketing Updates\",\"publisher\":{\"@id\":\"https:\/\/lite14.net\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lite14.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lite14.net\/blog\/#organization\",\"name\":\"Lite14 Tools &amp; Blog\",\"url\":\"https:\/\/lite14.net\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lite14.net\/blog\/wp-content\/uploads\/2025\/09\/cropped-lite-logo.png\",\"contentUrl\":\"https:\/\/lite14.net\/blog\/wp-content\/uploads\/2025\/09\/cropped-lite-logo.png\",\"width\":191,\"height\":178,\"caption\":\"Lite14 Tools &amp; Blog\"},\"image\":{\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/person\/3fcb0f4c8bd53264d6447eb6a6d36e81\",\"name\":\"admin3\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lite14.net\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a47a48d3f454a7aa919c16c5d03a6b63ff4ecdd1d2405bfba02f09414226574?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a47a48d3f454a7aa919c16c5d03a6b63ff4ecdd1d2405bfba02f09414226574?s=96&d=mm&r=g\",\"caption\":\"admin3\"},\"url\":\"https:\/\/lite14.net\/blog\/author\/adeyemoemmanuel001\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up tracking for dynamic URLs in Google Tag Manager - Lite14 Tools &amp; Blog","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:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to set up tracking for dynamic URLs in Google Tag Manager - Lite14 Tools &amp; Blog","og_description":"As a marketer, you know how crucial it is to track the performance of your website&#8217;s URLs. With the ever-changing landscape of online marketing, it&#8217;s...","og_url":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/","og_site_name":"Lite14 Tools &amp; Blog","article_published_time":"2024-06-24T15:05:20+00:00","author":"admin3","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin3","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#article","isPartOf":{"@id":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/"},"author":{"name":"admin3","@id":"https:\/\/lite14.net\/blog\/#\/schema\/person\/3fcb0f4c8bd53264d6447eb6a6d36e81"},"headline":"How to set up tracking for dynamic URLs in Google Tag Manager","datePublished":"2024-06-24T15:05:20+00:00","mainEntityOfPage":{"@id":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/"},"wordCount":709,"publisher":{"@id":"https:\/\/lite14.net\/blog\/#organization"},"articleSection":["Digital Marketing"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/","url":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/","name":"How to set up tracking for dynamic URLs in Google Tag Manager - Lite14 Tools &amp; Blog","isPartOf":{"@id":"https:\/\/lite14.net\/blog\/#website"},"datePublished":"2024-06-24T15:05:20+00:00","breadcrumb":{"@id":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/lite14.net\/blog\/2024\/06\/24\/how-to-set-up-tracking-for-dynamic-urls-in-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lite14.net\/blog\/"},{"@type":"ListItem","position":2,"name":"How to set up tracking for dynamic URLs in Google Tag Manager"}]},{"@type":"WebSite","@id":"https:\/\/lite14.net\/blog\/#website","url":"https:\/\/lite14.net\/blog\/","name":"Lite14 Tools &amp; Blog","description":"Email Marketing Tools &amp; Digital Marketing Updates","publisher":{"@id":"https:\/\/lite14.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lite14.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lite14.net\/blog\/#organization","name":"Lite14 Tools &amp; Blog","url":"https:\/\/lite14.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lite14.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/lite14.net\/blog\/wp-content\/uploads\/2025\/09\/cropped-lite-logo.png","contentUrl":"https:\/\/lite14.net\/blog\/wp-content\/uploads\/2025\/09\/cropped-lite-logo.png","width":191,"height":178,"caption":"Lite14 Tools &amp; Blog"},"image":{"@id":"https:\/\/lite14.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/lite14.net\/blog\/#\/schema\/person\/3fcb0f4c8bd53264d6447eb6a6d36e81","name":"admin3","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lite14.net\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a47a48d3f454a7aa919c16c5d03a6b63ff4ecdd1d2405bfba02f09414226574?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a47a48d3f454a7aa919c16c5d03a6b63ff4ecdd1d2405bfba02f09414226574?s=96&d=mm&r=g","caption":"admin3"},"url":"https:\/\/lite14.net\/blog\/author\/adeyemoemmanuel001\/"}]}},"_links":{"self":[{"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/posts\/7006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/users\/210"}],"replies":[{"embeddable":true,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/comments?post=7006"}],"version-history":[{"count":3,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/posts\/7006\/revisions"}],"predecessor-version":[{"id":7014,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/posts\/7006\/revisions\/7014"}],"wp:attachment":[{"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/media?parent=7006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/categories?post=7006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lite14.net\/blog\/wp-json\/wp\/v2\/tags?post=7006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}