50 likes | 83 Views
Get the latest version of Google Analytics by your side to track and analyze the eCommerce market using our Magento 2 Google Analytics 4 (GA4) extension. Meetanshiu2019s Magento 2 Google Analytics 4 (GA4) extension has a user-friendly integration system that allows to integrate GA4 with their store using Google Tag manager.<br>f you want to increase marketing performance for your store, reporting and analytics are the crucial part of eCommerce businesses. <br>For more information, visit: https://meetanshi.com/magento-2-google-analytics-4.html<br>
E N D
Google Analytics 4 for Magento 2 User Guide TableofContent ExtensionInstallationGuide IntegratingGoogleTag Manager with Website Configuration GTMAPIConfiguration ExportingJsonFile Uploading JsonFile inGoogleTag Manager DataTrackinginGoogleAnalytics GoogleAnalytics4 forMagento 2 ©Meetanshi
ExtensionInstallation • ForMagentoMarketplace Customers • FindtheComposername andversionoftheextension intheextension’scomposer.jsonfile. • Logintoyour SSHandrun: • composerrequiremeetanshi/magento-2-google-analytics-4--ignore-platform-reqs • Enteryourauthenticationkeys.Yourpublickeyisyourusername; yourprivatekey is yourpassword. • Wait forComposertofinishupdatingyourprojectdependenciesandmakesurethere • aren’tanyerrors. • Toverifythatthe extensioninstalledproperly,runthecommand: • phpbin/magentomodule:statusMeetanshi_GA4--ignore-platform-reqs • Bydefault, theextension isprobably disabled. • Enable theextensionandclearstaticviewfiles: • phpbin/magentomodule:enableMeetanshi_GA4--clear-static-content • phpbin/magento setup:upgrade • ForMagentoversion2.0.xto2.1.x-phpbin/magentosetup:static-content:deploy • ForMagentoversion2.2.x& above-phpbin/magentosetup:static-content:deploy –f • phpbin/magento cache:flush • ForMeetanshiCustomers • Extractthezipfolderanduploadourextensiontotheroot ofyourMagento2directory via FTP. • LogintoyourSSH and run belowcommandsstep bystep: • phpbin/magento setup:upgrade • ForMagentoversion2.0.xto2.1.x-phpbin/magentosetup:static-content:deploy • ForMagentoversion2.2.x& above-phpbin/magentosetup:static-content:deploy –f • phpbin/magento cache:flush GoogleAnalytics4 forMagento 2 ©Meetanshi
2.Integrating GoogleTag ManagerwithWebsite ToconnectGoogleTagManagerwiththewebsite,logintoyour“GoogleTagManagerAccount”. MovetoAccountContainer(Makesuretoselectrespectivecontainer).Now,moveto AdminInstall Google TagManagerwhereyou can find theJsandnon-Jscodesrespectively. Paste them inthe respectivefieldsin GoogleAnalytics4 extension configuration. GoogleAnalytics4 forMagento 2 ©Meetanshi
Configuration • Login to Magento 2, move to Stores Configuration Meetanshi GA4 where you can find varioussettingstoconfigurethe extension. • GA4:Enable GA4extensionfrom here. • Google TagManagerJS Code:EntertheJScodeyouhavecopiedfromGoogleTagManager. • Google TagManager Non-JS Code:EntertheNon-JScodeyouhavecopiedfromGoogleTag Manager. • ProductIdentifier:Select productidentifier fortracking. • Enable ProductBrand:Select“YES”toenable product brandin tracking. • Enable Variant:Select “YES”toenable product variants in tracking. • Order SuccessPageTotalCalculation:Selecthow youwanttotracktheordertotal calculationfor transactions. • ExcludeTaxFromTransaction:Select“YES”toexcludetaxfromtransactionstracking. • ExcludeShipping FromTransaction:Select“YES”toexcludeshippingfromtransactions. • ExcludeShippingIncludingTax:Select “YES”toexcludeshippingincluding taxfrom transactions. • SuccessPagePaths:Incaseofcustomcheckoutpages,i.e.,ifyouarenotusingdefault Magento 2 successpath,add customURL here. • ExcludeOrders with0value:Select“YES”toexcludetrackingoforderswith 0 value.i.e., Free products. • MeasureProductClicks: Select“YES”totrackproductclicksfromcategory,searchresult pageand other relatedcrossselland upsellgrids. • Child vs Parent:Selecthowtotrack transaction, i.e.,includingchildcategoryorthrough parent category.Child categoryincludesbetter product categorization. GoogleAnalytics4 forMagento 2 ©Meetanshi
Interesting, right? This is just a sneak preview of the full presentation. We hope you like it! To see the rest of it, just click here to view it in full on PowerShow.com. Then, if you’d like, you can also log in to PowerShow.com to download the entire presentation for free.