{"id":14344,"date":"2023-10-25T19:30:34","date_gmt":"2023-10-25T16:30:34","guid":{"rendered":"http:\/\/localhost:8080\/how-an-seo-agency-implemented-ecommerce-analytics-for-a-bakerys-website\/"},"modified":"2023-10-25T19:30:34","modified_gmt":"2023-10-25T16:30:34","slug":"how-an-seo-agency-implemented-ecommerce-analytics-for-a-bakerys-website","status":"publish","type":"post","link":"https:\/\/alienroad.com\/how-an-seo-agency-implemented-ecommerce-analytics-for-a-bakerys-website\/","title":{"rendered":"How an SEO Agency Implemented Ecommerce Analytics for a Bakery\u2019s Website"},"content":{"rendered":"<h2>How an SEO Agency Implemented Ecommerce Analytics for a Bakery\u2019s Website<\/h2>\n<p>In the last episode of our SEO Reality Show, we walked through how the SEO agency\u00a0<a href=\"https:\/\/www.semrush.com\/blog\/bakery-ecommerce-seo\/\" target=\"_blank\" rel=\"noopener\">designed and implemented a store section<\/a>\u00a0for their bakery client,\u00a0<a href=\"https:\/\/www.edelweissbakeryfl.com\/shop\/\" target=\"_blank\" rel=\"noopener\">Edelweiss<\/a>\u2019, website. In this episode, we\u2019ll share how and why they applied an e\u0441ommerce analytics system to track and help grow sales on the bakery\u2019s website.<\/p>\n<h2 id=\"the-process\">The Process<\/h2>\n<p>First, let\u2019s take a look at how the agency prepped for this stage of the process. To set up the sales analytics system on the website, the agency used two tools:<\/p>\n<ol>\n<li>Google Tag Manager (GTM): a container for storing scripts<\/li>\n<li><a href=\"https:\/\/www.semrush.com\/blog\/beginners-definitive-guide-to-google-analytics\/\" target=\"_blank\" rel=\"noopener\">Google Analytics (GA)<\/a>: analytics for website visits, target audience, traffic channels, setting up goals, and tracking their results<\/li>\n<\/ol>\n<p>If you do not have GTM installed on your site, the agency recommends installing and using it. It will help save page loading resources since, with GTM, only one analytics script is running.<\/p>\n<p>After they established what tools they would be using, the\u00a0<a href=\"https:\/\/www.semrush.com\/blog\/digital-agency\/\" target=\"_blank\" rel=\"noopener\">digital agency<\/a>\u00a0began setting up the necessary data and information inside those tools to get the most accurate results.<\/p>\n<h2 id=\"step-1-\u2014-preparing-triggers-and-tags-in-gtm\">Step 1 \u2014 Preparing Triggers and Tags in GTM<\/h2>\n<p>The first step was to set up tags, triggers, and variables in GTM. Let\u2019s take a look at what each of these things is responsible for:<\/p>\n<ul>\n<li><strong>\u200b\u200bTag:<\/strong>\u00a0a JavaScript code that collects visitor data on a website and then transmits it to GA.<\/li>\n<li><strong>Trigger:\u00a0<\/strong>a condition that defines when a specific tag must be activated or blocked. A tag must always be activated by at least one trigger.<\/li>\n<li><strong>Variable:<\/strong>\u00a0a parameter that can assume any value depending on events on the website.<\/li>\n<\/ul>\n<p>Here&#8217;s a screenshot of tags that the agency used when setting up the bakery\u2019s analytics:<\/p>\n<p>As a more in-depth example, let\u2019s take a look at the configurations the agency used when setting up the add-to-cart tag. The agency created the following fields for this tag:<\/p>\n<ul>\n<li>Track type: an event monitoring type<\/li>\n<li>Category<\/li>\n<li>Action: an action that launches a trigger<\/li>\n<li>Google Analytics Settings: for setting up field transmissions to GA with ecommerce data<\/li>\n<li>Tracking ID: tracked parameter\u2019s ID in one website<\/li>\n<li>Firing Triggers: a condition that activates a tag<\/li>\n<\/ul>\n<p>Here\u2019s a screenshot of the example above:<\/p>\n<h2 id=\"step-2-\u2014-setting-up-events-on-the-website\">Step 2 \u2014 Setting Up Events on the Website<\/h2>\n<p>Next, the agency set up events. For events on the website to trigger data transmission to GA, you must link them to specific elements using Data Layer, which is an array of entities in JavaScript for transmitting information to GTM.<\/p>\n<p>The agency created a technical specification (TS) for programmers to link ecommerce events to elements, and a screenshot of this is shown below. They specified the following data (for example, adding an item to the cart) in the TS:<\/p>\n<table>\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td>Tech Spec Field<\/td>\n<td>Value<\/td>\n<\/tr>\n<tr>\n<td>Event Description<\/td>\n<td>Adding an item to the cart<\/td>\n<\/tr>\n<tr>\n<td>Event name<\/td>\n<td>addToCart<\/td>\n<\/tr>\n<tr>\n<td>Event category<\/td>\n<td>Ecommerce<\/td>\n<\/tr>\n<tr>\n<td>Event action<\/td>\n<td>Add to cart<\/td>\n<\/tr>\n<tr>\n<td>Event label<\/td>\n<td>{{catalog\/item card}}<\/td>\n<\/tr>\n<tr>\n<td>Method<\/td>\n<td>dataLayer<\/td>\n<\/tr>\n<tr>\n<td>HTTP request Example<\/td>\n<td>dataLayer.push({<\/p>\n<p>&#8216;event&#8217;: &#8216;addToCart&#8217;, &#8220;eventLabel&#8217;:{{catalog\/item card}},&#8217;ecommerce&#8217;: {<\/p>\n<p>&#8216;currencyCode&#8217;: &#8216;USD&#8217;, &#8216;add&#8217;: {<\/p>\n<p>&#8216;params&#8217;: [{<\/p>\n<p>&#8216;name&#8217;: &#8216;Product&#8217;, &#8216;id&#8217;: &#8216;12345&#8217;, &#8216;price&#8217;: &#8216;1.90&#8217;, &#8216;quantity&#8217;: 1<\/p>\n<p>}]<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>});<\/td>\n<\/tr>\n<tr>\n<td>References<\/td>\n<td>DataLayer:<\/p>\n<p><a href=\"https:\/\/developers.google.com\/tag-manager\/devguide\" target=\"_blank\" rel=\"noopener\">https:\/\/developers.google.com\/tag-manager\/devguide<\/a><\/p>\n<p>Electronic commerce:<\/p>\n<p><a href=\"https:\/\/developers.google.com\/tag-manager\/enhanced-ecommerce#add\" target=\"_blank\" rel=\"noopener\">https:\/\/developers.google.com\/tag-manager\/enhanced-ecommerce#add<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"step-3-\u2014-using-ga-to-ensure-that-events-run-smoothly\">Step 3 \u2014 Using GA to Ensure that Events Run Smoothly<\/h2>\n<p>The agency\u2019s next step was to review the event settings. There are two ways to do this:<\/p>\n<ol>\n<li>By tracking orders and comparing data with GA when using a CRM (customer relationship manager) for large ecommerce projects.<\/li>\n<li>Comparing the data from email requests and sales data in GA.<\/li>\n<\/ol>\n<p>In the bakery\u2019s case, the agency chose the second option and a 7\u2013day window to compare data. The client sent information on completed orders, and the agency\u2019s team of analysts compared this data with the data from GA.<\/p>\n<h2 id=\"step-4-\u2014-setting-up-goals-in-google-analytics\">Step 4 \u2014 Setting Up Goals in Google Analytics<\/h2>\n<p>In the fourth step, the agency set up its goals for the bakery website in GA, including:<\/p>\n<ul>\n<li>Add to cart<\/li>\n<li>Opening the shopping cart<\/li>\n<li>Opening the order page<\/li>\n<li>Purchase<\/li>\n<\/ul>\n<p>The agency also set general website goals that weren\u2019t directly related to the sales funnel:<\/p>\n<ul>\n<li>Go to Instagram<\/li>\n<li>Go to Facebook<\/li>\n<li>Submitting the coupon form<\/li>\n<li>Submitting the catalog form<\/li>\n<\/ul>\n<h2 id=\"step-5-\u2014-optimizing-the-funnel\">Step 5 \u2014 Optimizing the Funnel<\/h2>\n<p>After setting up and reviewing all goals and events, the agency is ready to move on to the most exciting part: optimizing the sales funnel. If you\u2019re looking to optimize your business\u2019 funnel, here are a few things to consider:<\/p>\n<h3 id=\"abandoned-carts\">Abandoned Carts<\/h3>\n<p>The abandoned cart is the first thing you should check. This is when a store visitor frequently adds items to their cart but does not complete the transaction.<\/p>\n<p>There could be several reasons for this. Maybe the fields at the checkout stage are not entirely clear, or there is no information about the delivery process at any point during checkout, so the visitor learns (for example) that the store doesn\u2019t deliver to their city only when they reach the final stage of checkout.<\/p>\n<h3 id=\"optimizing-product-cards\/descriptions\">Optimizing Product Cards\/Descriptions<\/h3>\n<p>How effective are your product cards at converting customers? You might consider making calculated and strategic changes to a control group and then track the total number of conversions for this control group to see if your strategic optimizations are effective. If the percentage of sales rises, you can confidently implement your changes across the website.<\/p>\n<h3 id=\"experiments-and-tests\">Experiments and Tests<\/h3>\n<p>Like the example above, you can run various tests on the website, including A\/B testing, to try your marketing hypotheses and improve sales. For more precise configurations, the agency also recommends using the\u00a0<a href=\"https:\/\/www.hotjar.com\/\" target=\"_blank\" rel=\"noopener\">Hotjar<\/a>\u00a0tool. You can use it to see user activity on the website (heatmaps and session recordings). This detailed data can help you see where prospects are falling out of the sales funnel, which in turn can give you ideas for how to improve.<\/p>\n<p>In the bakery\u2019s case, the agency will optimize the funnel, perform experiments after gathering statistics for at least a month, and then draw conclusions based on actual data. We\u2019ll keep you updated.<\/p>\n<h2 id=\"next-up\">Next Up<\/h2>\n<p>The store section setup is done. The agency completed multiple tasks and implemented numerous edits to the website according to the client\u2019s wishes. They practically created a new site from scratch, which is fantastic. In the next episode, we\u2019ll discuss how to improve on what&#8217;s already working, analyze content quality, and respond to any changes in sale results. Stay Tuned!<\/p>\n<h2 id=\"infographic---how-to-implement-ecommerce-analytics-for-a-bakery\u2019s-website\">Infographic &#8211; How to Implement Ecommerce Analytics for a Bakery\u2019s Website<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>How an SEO Agency Implemented Ecommerce Analytics for a Bakery\u2019s Website In the last episode of our SEO Reality Show, we walked through how the SEO agency\u00a0designed and implemented a store section\u00a0for their bakery client,\u00a0Edelweiss\u2019, website. In this episode, we\u2019ll\u2026<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"class_list":["post-14344","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/posts\/14344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/comments?post=14344"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/posts\/14344\/revisions"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=14344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/categories?post=14344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/tags?post=14344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}