EXWE Blog
News about Shopware from the EXWE Blog
Subscribe to articles about digitalization, software development and e-commerce
  Show all news (72)

Shopware track all shopping cart activity with ga Analytics

Banner Shopware

If you run an online store, it is especially important to analyze and track the behavior of your customers. Only in this way is it possible for you to introduce targeted measures that will drive the growth of your e-commerce in the long term. That's why we have the following tip for you:

Below is a guide on how you can successfully track the clicks on the shopping cart button and all other shopping cart activities. For this, you don't need to customize all pages in the template individually. We use jQuery and deposit a small script in our individual JavaScript.

THIS WILL LOOK LIKE THIS:

$(function () { 
    // ga analytics stuff to track cart actions
    var pagePath = window.location.pathname;
    var mainTitle = $('h1').text();
    $('.buybox--button').click(function() {
        ga('send', 'event', 'shopping cart click', mainTitle, pagePath);
    });
});

 

We only capture the detail page here. If you have additional shopping cart buttons on the page, for example in the listing or the sliders, you must add the code accordingly.

THIS COULD LOOK LIKE THIS:

 
$(function () { 
    // ga analytics stuff to track cart actions
    var pagePath = window.location.pathname;
    var mainTitle = $('h1').text();
    $('.buybox--button, .buybox--form .product--actions, .buybox--form .layer--btn').click(function() {
        ga('send', 'event', 'shopping cart click', mainTitle, pagePath);
    });
});

 


The most important key figures for your online shop

The most important metrics include visitor numbers, conversion rate, return rate and abandonment rates of your customers. The customer behavior in your store and your sales are the basis of all key figures of every online store. Shopware customers can find the data needed for this in the backend of Shopware under the points Marketing and Evaluation. A separate tool for this is Google Analytics.

The conversion rate is a KPI (Key Performance Indicator) from online marketing. It shows the ratio of visitors to a website to conversions and is given as a percentage. What exactly the conversion is, can be determined in advance. Whether this should be a transaction, a newsletter subscription or a successful download - you decide. Conversion rate is used to calculate the efficiency of your banner ads, websites or online stores to get the maximum return from advertising campaigns. To calculate it we need the following formula

Number of buyers * 100 / visitors

To increase your conversion rate it helps to make your website as attractive as possible. Improve your content with photos, graphics or videos, create a user-friendly interface and operation as a basis for a satisfied customer. If you run an online store, offer your customers an easy way to register to keep them. Overly complicated forms often cause frustration and make your just-willing-to-buy customer bail. There are many ways to drive your conversion rate up.

Are you facing other challenges with your online shop? We offer you a full package of Shopware support and monitoring. We at EXWE are happy to answer your questions and support you in building your store.

Meike
Meike
from 29.11.17 um 12:33

Hello, my name is Meike. I take care of the EXWE back office and am responsible for our social media channels. All of our articles are meant to make your life easier and help you make decisions. Nevertheless, it can happen that something remains unclear, so: If you have questions about this article you can easily reach me at +49 231 93149827.

We also have the following interesting posts from our tech blog for you on this topic
Shopware create invoice correction without overwriting

Shopware create invoice correction without overwriting

Shopware Tips and Tricks - All states that are mandatory for PayPal in one SQL

Use our Shopware tip on the topic: Shopware - All for PayPal obligatory states in a SQL. Use the SQL query in our blog article.

Correct currency and tax rates for online store: Shopware Japanese States

The Shopware insert for the Japanese States - Use our tips and tricks about Shopware and optimize your online store now!




Schreibe EXWE auf WhatsApp