{"id":261,"date":"2023-05-17T06:28:38","date_gmt":"2023-05-17T06:28:38","guid":{"rendered":"https:\/\/devmanextensions.com\/blog\/?p=261"},"modified":"2025-05-08T20:41:31","modified_gmt":"2025-05-08T20:41:31","slug":"connect-opencart-with-ga4-using-google-tag-manager","status":"publish","type":"post","link":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/","title":{"rendered":"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"600\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg\" alt=\"network to connect diferents points  in front of laptop with beautifull pictures on screen \" class=\"wp-image-262\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg 900w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM-300x200.jpg 300w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM-768x512.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p>If you&#8217;re looking for a simple and effective way to connect Google Analytics 4 to your Opencart online store using Google Tag Manager, you&#8217;ve come to the right place. In this article, we&#8217;ve prepared a step-by-step guide to demonstrate its simplicity. We will walk you through the entire configuration process. Let &#8216;s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">Why Connect Google Analytics 4 with Opencart?<\/h2>\n\n\n\n<p>Before delving into the technical details, it&#8217;s important to understand why connecting Google Analytics 4 (GA4) to Opencart is essential for your online business.&nbsp;<\/p>\n\n\n\n<p>GA4 is the latest version of Google&#8217;s analytics tool, providing a wide range of valuable metrics and data to comprehend your visitors&#8217; behavior and enhance your marketing strategy. Connecting GA4 with Opencart allows you to <a href=\"https:\/\/devmanextensions.com\/blog\/7-seo-tips\/\">track store performance<\/a>, measure campaign success, and make data-driven decisions<\/p>\n\n\n\n<p>That&#8217;s why we have prepared a step-by-step guide to demonstrate how straightforward it is to link your store to GA4. Upon completing the guide, you&#8217;ll have a real business analytics example where various events, from adding items to the cart to completing a purchase, are tracked and displayed in the panel as a result of following the steps outlined below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">Step 1: Setting up a Google Analytics 4 Account<\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/create-account-ga4-1024x475.png\" alt=\"creating a Google analytics account\" class=\"wp-image-263\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/create-account-ga4-1024x475.png 1024w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/create-account-ga4-300x139.png 300w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/create-account-ga4-768x356.png 768w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/create-account-ga4-1536x712.png 1536w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/create-account-ga4.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Setting up a new Google Analytics account<\/figcaption><\/figure>\n\n\n\n<p>The first step is to set up a Google Analytics 4 account. If you already have a GA4 account, you can skip this step. If not, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Access <a href=\"https:\/\/analytics.google.com\">Google Analytics<\/a> and create a new property for your Opencart\u2019s store.<\/li>\n\n\n\n<li>Enter the necessary information, such as the property name and the URL of your Opencart store.<\/li>\n\n\n\n<li>Accept the terms of service and click on &#8220;Create.&#8221;<\/li>\n<\/ol>\n\n\n\n<p>No matter what OpenCart version you\u2019re using \u2014yes, that includes OpenCart 3\u2014 Google Analytics is the way to go for tracking performance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">Step 2: Configuring Google Tag Manager for Opencart <\/h2>\n\n\n\n<p>Now that you have a GA4 account, it&#8217;s time to set up Google Tag Manager (GTM) for your Opencart store. This will allow you to track the actions performed by visitors on your ecommerce site in detail and connect various tracking tools without the need to add additional code to your website. Follow these steps to configure google tag manager for Opencart: <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Access <a href=\"https:\/\/tagmanager.google.com\">Google Tag Manager<\/a> and create a new account.<\/li>\n\n\n\n<li>Provide the required details, such as the account name and the URL of your Opencart store.<\/li>\n\n\n\n<li>Accept the terms of service and click on &#8220;Create.&#8221;<\/li>\n<\/ol>\n\n\n\t\t\t\t\t<div class=\"astra-advanced-hook-296 \">\n\t\t\t\t<p>We <strong>create Opencart&#8217;s extensions<\/strong> that take your online store to the next level.<\/p>\n<p>Stand out from the competition and provide an <strong>exceptional shopping experience<\/strong><\/p>\n<p><strong>Contact us today<\/strong> to revolutionize your\u00a0 business.<\/p>\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"507\" height=\"660\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo.png\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo.png 507w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo-230x300.png 230w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/>\t\t\t\t\t<\/div>\n\t\t\t\t\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">Step 3: Implementing the Google Tag Manager Container in Opencart<\/h2>\n\n\n\n<p>Once you have configured GTM, it&#8217;s time to implement the container in your Opencart store. Let&#8217;s see how to do it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Install Google Marketing Tools, the top Opencart extension for Tag Manager.<\/h3>\n\n\n\n<p>At this point, you may be wondering what <a href=\"https:\/\/devmanextensions.com\/opencart-google-marketing-tools\">Google Marketing Tools<\/a> is, and the answer is simple\u2014it&#8217;s the solution to your problem.<\/p>\n\n\n\n<p>With our <a href=\"https:\/\/devmanextensions.com\/blog\/how-can-opencart-extensions-help-increase-sales-and-conversion-rates\/\">Opencart extension<\/a>, you will achieve seamless synchronization between your store or multi-store and Google Tag Manager. This ensures that all the necessary tags are managed with just one tag (GTM), eliminating tag conflicts and the need to purchase\/install a product for each tag you want to install in your store.<\/p>\n\n\n\n<p>Furthermore, with Google Marketing Tools, you can generate XML\/CSV feeds of your products for over 20 different external markets, expanding your reach and sales possibilities.<\/p>\n\n\n\n<p>It is also compatible with CRON JOBS, allowing stores with a high volume of products and traffic to automatically generate their feeds based on the schedule configured on their server. This helps prevent performance issues and server limits.<\/p>\n\n\n\n<p>Moreover, Google Marketing Tools is compatible with Google Consent, allowing you to maintain tracking even if users deny cookie acceptance.<\/p>\n\n\n\n<p>Lastly, our extension complies with GDPR regulations and features a synchronization system with Mailchimp for effective abandoned cart campaigns.<\/p>\n\n\n\n<p>Now, let&#8217;s show you how to install it.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First, let&#8217;s purchase the extension. Visit the official GMT developer website and complete the purchase.<\/li>\n\n\n\n<li>Unzip the main file, &#8216;Google Marketing Tools V.X.X.X.zip,&#8217; which contains individual zip files for each Opencart version range. Yes, as you can see, it is compatible not only with Opencart 4 but also with previous versions.<\/li>\n\n\n\n<li>Once logged into the Opencart administration, go to &#8216;Extensions &gt; Installer&#8217; and install the zip file that matches your Opencart version.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"658\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cargar-la-extension-1024x658.jpg\" alt=\"intalling Google marketing Tools in Opencart\" class=\"wp-image-265\" style=\"width:768px;height:494px\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cargar-la-extension-1024x658.jpg 1024w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cargar-la-extension-300x193.jpg 300w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cargar-la-extension-768x494.jpg 768w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cargar-la-extension.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Extension Installer in Opecart<\/figcaption><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>We go to &#8220;Extensions &gt; Modifications&#8221; to refresh OCMOD changes.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"652\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cambios-ocmod-1024x652.jpg\" alt=\"section of Opecart's admin panel from modifications OCMOD\" class=\"wp-image-266\" style=\"width:768px;height:489px\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cambios-ocmod-1024x652.jpg 1024w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cambios-ocmod-300x191.jpg 300w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cambios-ocmod-768x489.jpg 768w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/cambios-ocmod.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Refresing OCMOD changes in Opencart<\/figcaption><\/figure>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Only for <a href=\"https:\/\/devmanextensions.com\/blog\/opencart-3-vs-opencart-4-which-version-to-choose-for-your-online-store\/\">Opencart 3 users<\/a>, if your store is not using this version, you can proceed to the next step. By default, this version comes with a cache system, and we recommend refreshing the cache from the administration dashboard by clicking on a blue button with a gear icon located in the upper right corner. It does not happen in any of the previous versions of OpenCart nor in <a href=\"https:\/\/devmanextensions.com\/blog\/what-is-new-in-opencart-4\/\">Openart 4.0<\/a> or its updates nor in 3.0.3.9. <\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"517\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/refrescar-cache-1024x517.jpg\" alt=\"refresing cache fron Opencart 3 Dashboard\" class=\"wp-image-267\" style=\"width:768px;height:388px\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/refrescar-cache-1024x517.jpg 1024w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/refrescar-cache-300x151.jpg 300w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/refrescar-cache-768x388.jpg 768w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/refrescar-cache.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Refreshing cache on Opencart&#8217;s Dashboard<\/figcaption><\/figure>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>As the final step, we go to &#8220;Extensions &gt; Modules,&#8221; filter by &#8220;Modules,&#8221; and you will see &#8220;Google Marketing Tools&#8221; among the top positions. Press the green &#8220;Install&#8221; button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"661\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/install-1024x661.jpg\" alt=\"install an extension in Opencart\" class=\"wp-image-268\" style=\"width:768px;height:496px\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/install-1024x661.jpg 1024w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/install-300x194.jpg 300w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/install-768x496.jpg 768w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/install.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Installing Google Marketing Tools in Opencart<\/figcaption><\/figure>\n\n\n\n<p>There is an additional step for Opencart versions 1 and 2. We advise you to contact us, and we will gladly guide you through the missing step.<\/p>\n\n\n\t\t\t\t\t<div class=\"astra-advanced-hook-296 \">\n\t\t\t\t<p>We <strong>create Opencart&#8217;s extensions<\/strong> that take your online store to the next level.<\/p>\n<p>Stand out from the competition and provide an <strong>exceptional shopping experience<\/strong><\/p>\n<p><strong>Contact us today<\/strong> to revolutionize your\u00a0 business.<\/p>\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"507\" height=\"660\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo.png\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo.png 507w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo-230x300.png 230w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/>\t\t\t\t\t<\/div>\n\t\t\t\t\n\n\n\n<p>Fantastic! Now that we have learned how to install Google Marketing Tools in Opencart, it&#8217;s time to take the next step and connect your store to Google Tag Manager.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Generating a workspace for GTM<\/h3>\n\n\n\n<p>To do this, we will go to the &#8220;GTM Workspace Generator&#8221; tab, as shown in the image.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"1024\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/generar-workspace-1-945x1024.jpg\" alt=\"generate a workspace for Google tag manager with Google marketing Tools\" class=\"wp-image-270\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/generar-workspace-1-945x1024.jpg 945w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/generar-workspace-1-277x300.jpg 277w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/generar-workspace-1-768x832.jpg 768w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/generar-workspace-1.jpg 1181w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><figcaption class=\"wp-element-caption\">Generating a Workspace for Google Tag Manager using Google Marketing Tools<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Importing the workspace into Google Tag Manager for OpenCart<\/h3>\n\n\n\n<p>Once you have generated and downloaded the workspace &#8220;.json&#8221; file from your email account, it&#8217;s time to import it into your Google Tag Manager account. Follow these steps:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"810\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/opencart-google-marketing-tools-import-workspace-1.gif\" alt=\"Importing the workspace into Google Tag Manager\" class=\"wp-image-277\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the workspace .json file to your computer.<\/li>\n\n\n\n<li>Log in to your Google Tag Manager account.<\/li>\n\n\n\n<li>Go to the &#8220;Admin&#8221; tab.<\/li>\n\n\n\n<li>In the list of links on the right, click on &#8220;Import Container.&#8221;<\/li>\n\n\n\n<li>Press the &#8216;Choose container file&#8217; button and browse for the file.<\/li>\n\n\n\n<li>Select whether you want to import the workspace into an existing container or a new one.<\/li>\n\n\n\n<li>You have the option to completely replace the workspace (&#8220;Overwrite&#8221;) or merge all the data (&#8220;Merge&#8221;). We always recommend &#8220;Overwrite&#8221; if you haven&#8217;t installed your own tags.<\/li>\n\n\n\n<li>Click the blue &#8220;Confirm&#8221; button.<\/li>\n\n\n\n<li>The system will return you to the main page. Click the blue &#8220;Submit&#8221; button to publish your changes.<\/li>\n\n\n\n<li>Insert a name and description to identify this version of the workspace, and click the &#8220;Publish&#8221; button located in the upper right corner.<\/li>\n<\/ol>\n\n\n\n<p>Now that we have generated and implemented the container in Google Tag Manager, we can take the next step. We are getting closer to our goal: linking your Opencart store to Google Analytics 4 through Google Tag Manager.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">Step 4: Activation of Google Marketing Tools<\/h2>\n\n\n\n<p>Once we have generated, imported, and published the workspace in our Google Tag Manager account, we can enable Google Marketing Tools. When we enable Google Marketing Tools, the Google Tag Manager code will be inserted, which manages all the other tags contained in the workspace we imported in previous steps.<\/p>\n\n\n\n<p>We need to extract the identifier (GTM-XXXXX) from our Google Tag Manager account. To do this, log in to our GTM panel, and we will find the identifier here:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1500\" height=\"606\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/opencart-google-marketing-tools-gtm-id.jpg\" alt=\"Google Tag Manager Dashboard\" class=\"wp-image-283\"\/><figcaption class=\"wp-element-caption\">Google Tag Manager Dashboard<\/figcaption><\/figure>\n\n\n\n<p>Copy our identifier and follow these steps to enable Google Marketing Tools:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the admin area of Google Marketing Tools.<\/li>\n\n\n\n<li>In the &#8220;General&#8221; tab, enable &#8220;Google Marketing Tools status.&#8221;<\/li>\n\n\n\n<li>Paste our ID (GTM-XXXXX) into &#8220;GTM Container ID.&#8221;<\/li>\n\n\n\n<li>Press the &#8220;Apply&#8221; button to save the changes.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"761\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/opencart-google-marketing-tools-enable-2-1024x761.gif\" alt=\"proccess to activate Google MArketing Tools in Opecart \" class=\"wp-image-291\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/opencart-google-marketing-tools-enable-2-1024x761.gif 1024w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/opencart-google-marketing-tools-enable-2-300x223.gif 300w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/opencart-google-marketing-tools-enable-2-768x571.gif 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Activating Google Marketing Tools in Opencart<\/figcaption><\/figure>\n\n\n\n<p>Congratulations! You have successfully connected Google Analytics 4 with your Opencart store using Google Tag Manager. Remember that this integration will provide <a href=\"https:\/\/devmanextensions.com\/blog\/7-seo-tips\/\">valuable insights into the performance of your website<\/a>, user behavior, and e-commerce conversions. Make sure to regularly review GA4 reports and use that data to improve your marketing strategy and optimize your online store.<\/p>\n\n\n\t\t\t\t\t<div class=\"astra-advanced-hook-296 \">\n\t\t\t\t<p>We <strong>create Opencart&#8217;s extensions<\/strong> that take your online store to the next level.<\/p>\n<p>Stand out from the competition and provide an <strong>exceptional shopping experience<\/strong><\/p>\n<p><strong>Contact us today<\/strong> to revolutionize your\u00a0 business.<\/p>\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"507\" height=\"660\" src=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo.png\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo.png 507w, https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/david_nieves_coronado_ceo_big_photo-230x300.png 230w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/>\t\t\t\t\t<\/div>\n\t\t\t\t\n\n\n\n<h2 class=\"wp-block-heading\">Using Google Tag Manager to Opencart conection with GA4: final words<\/h2>\n\n\n\n<p>Remember that connecting Opencart with Google Analytics 4 through Google Tag Manager allows you to have comprehensive tracking of your store&#8217;s performance and make data-driven decisions. If you want to learn more about e-commerce tracking in Opencart or enhance your analytical skills, feel free to explore other resources and tutorials available on our blog.<\/p>\n\n\n\n<p>Additionally, we wanted to show you an example of how your Google Analytics 4 could look after the tutorial. This is a real example of a fully functional business.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re looking for a simple and effective way to connect Google Analytics 4 to your Opencart online store using Google Tag Manager, you&#8217;ve come to the right place. In this article, we&#8217;ve prepared a step-by-step guide to demonstrate its [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":262,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[19],"tags":[17],"class_list":["post-261","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-tag-manager","tag-tips"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide - DevmanExtensions Blog<\/title>\n<meta name=\"description\" content=\"If you&#039;re looking for a simple and effective way to connect Google Analytics 4 to your Opencart online store using Google Tag Manager, you&#039;ve come to the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-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 connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide - DevmanExtensions Blog\" \/>\n<meta property=\"og:description\" content=\"If you&#039;re looking for a simple and effective way to connect Google Analytics 4 to your Opencart online store using Google Tag Manager, you&#039;ve come to the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"DevmanExtensions Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-17T06:28:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-08T20:41:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Devman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Devman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/\"},\"author\":{\"name\":\"Devman\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/#\/schema\/person\/af87c46c5f78316847855a27c261a5fb\"},\"headline\":\"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide\",\"datePublished\":\"2023-05-17T06:28:38+00:00\",\"dateModified\":\"2025-05-08T20:41:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/\"},\"wordCount\":1436,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg\",\"keywords\":[\"Tips\"],\"articleSection\":[\"Google Tag Manager\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/\",\"url\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/\",\"name\":\"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide - DevmanExtensions Blog\",\"isPartOf\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg\",\"datePublished\":\"2023-05-17T06:28:38+00:00\",\"dateModified\":\"2025-05-08T20:41:31+00:00\",\"description\":\"If you're looking for a simple and effective way to connect Google Analytics 4 to your Opencart online store using Google Tag Manager, you've come to the\",\"breadcrumb\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#primaryimage\",\"url\":\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg\",\"contentUrl\":\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg\",\"width\":900,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devmanextensions.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/#website\",\"url\":\"https:\/\/devmanextensions.com\/blog\/\",\"name\":\"DevmanExtensions Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devmanextensions.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/#organization\",\"name\":\"Devmanextension\",\"alternateName\":\"Devmanextension\",\"url\":\"https:\/\/devmanextensions.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/Logo-todo-color-2.png\",\"contentUrl\":\"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/Logo-todo-color-2.png\",\"width\":150,\"height\":103,\"caption\":\"Devmanextension\"},\"image\":{\"@id\":\"https:\/\/devmanextensions.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/#\/schema\/person\/af87c46c5f78316847855a27c261a5fb\",\"name\":\"Devman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devmanextensions.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5163658c250d869bcb0cd9a5f2757901de6e08965574617de3d2daae489363e6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5163658c250d869bcb0cd9a5f2757901de6e08965574617de3d2daae489363e6?s=96&d=mm&r=g\",\"caption\":\"Devman\"},\"sameAs\":[\"https:\/\/devmanextensions.com\/app\/webroot\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide - DevmanExtensions Blog","description":"If you're looking for a simple and effective way to connect Google Analytics 4 to your Opencart online store using Google Tag Manager, you've come to the","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:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide - DevmanExtensions Blog","og_description":"If you're looking for a simple and effective way to connect Google Analytics 4 to your Opencart online store using Google Tag Manager, you've come to the","og_url":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/","og_site_name":"DevmanExtensions Blog","article_published_time":"2023-05-17T06:28:38+00:00","article_modified_time":"2025-05-08T20:41:31+00:00","og_image":[{"width":900,"height":600,"url":"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg","type":"image\/jpeg"}],"author":"Devman","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Devman","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#article","isPartOf":{"@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/"},"author":{"name":"Devman","@id":"https:\/\/devmanextensions.com\/blog\/#\/schema\/person\/af87c46c5f78316847855a27c261a5fb"},"headline":"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide","datePublished":"2023-05-17T06:28:38+00:00","dateModified":"2025-05-08T20:41:31+00:00","mainEntityOfPage":{"@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/"},"wordCount":1436,"commentCount":0,"publisher":{"@id":"https:\/\/devmanextensions.com\/blog\/#organization"},"image":{"@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg","keywords":["Tips"],"articleSection":["Google Tag Manager"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/","url":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/","name":"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide - DevmanExtensions Blog","isPartOf":{"@id":"https:\/\/devmanextensions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#primaryimage"},"image":{"@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg","datePublished":"2023-05-17T06:28:38+00:00","dateModified":"2025-05-08T20:41:31+00:00","description":"If you're looking for a simple and effective way to connect Google Analytics 4 to your Opencart online store using Google Tag Manager, you've come to the","breadcrumb":{"@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#primaryimage","url":"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg","contentUrl":"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/connect-with-GTM.jpg","width":900,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/devmanextensions.com\/blog\/connect-opencart-with-ga4-using-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devmanextensions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to connect Opencart with Google Analytics 4 using Google Tag Manager? Step-by-step guide"}]},{"@type":"WebSite","@id":"https:\/\/devmanextensions.com\/blog\/#website","url":"https:\/\/devmanextensions.com\/blog\/","name":"DevmanExtensions Blog","description":"","publisher":{"@id":"https:\/\/devmanextensions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devmanextensions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/devmanextensions.com\/blog\/#organization","name":"Devmanextension","alternateName":"Devmanextension","url":"https:\/\/devmanextensions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devmanextensions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/Logo-todo-color-2.png","contentUrl":"https:\/\/devmanextensions.com\/blog\/wp-content\/uploads\/2023\/05\/Logo-todo-color-2.png","width":150,"height":103,"caption":"Devmanextension"},"image":{"@id":"https:\/\/devmanextensions.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/devmanextensions.com\/blog\/#\/schema\/person\/af87c46c5f78316847855a27c261a5fb","name":"Devman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devmanextensions.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5163658c250d869bcb0cd9a5f2757901de6e08965574617de3d2daae489363e6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5163658c250d869bcb0cd9a5f2757901de6e08965574617de3d2daae489363e6?s=96&d=mm&r=g","caption":"Devman"},"sameAs":["https:\/\/devmanextensions.com\/app\/webroot\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/posts\/261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":19,"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions"}],"predecessor-version":[{"id":1098,"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions\/1098"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/media\/262"}],"wp:attachment":[{"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/media?parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/categories?post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devmanextensions.com\/blog\/wp-json\/wp\/v2\/tags?post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}