E-commerce

How to set up basic goals in Google Analytics to optimize your Shopify store?

How to set up basic goals in Google Analytics to optimize your Shopify store?

August 26, 2026

Are you wondering how to set up basic goals in Google Analytics?

In a few steps, you can track key visitor actions, sign-ups, purchases, page views, and measure their impact on your revenue.

This setup avoids approximations and gives you precise visibility to adjust your campaigns and user experience.

So, how do you set up basic goals in Google Analytics? Here's what's covered:

  • What are the different types of goals available in Google Analytics?

  • How to create a destination goal to track a key page?

  • How to define a duration goal to measure engagement?

  • How to set up an event goal to track specific actions?

  • How does Qstomy help configure and track your Analytics goals?

Let's go.

By following these steps, you will gain analytical precision, allowing you to optimize your ad campaigns, reduce acquisition costs, and increase average order value. Don't wait any longer, set up your goals today to turn visits into concrete sales.

Additionally, you will be able to compare performance across different acquisition channels, identify friction points, and quickly test new hypotheses thanks to real-time updated reports.

Summary

What are the different types of goals available in Google Analytics?

Google Analytics offers four types of goals that cover most e-commerce needs. The goal destination triggers when a visitor reaches a specific URL, such as the order confirmation page. The goal duration measures time spent on the site, ideal for brand content. The goal pages per session counts the number of pages viewed before conversion, revealing engagement. Finally, the goalevent tracks specific actions, clicks on a button, video playback, or interaction with a module. By combining these goals, you get a complete view of customer behavior. In practice, you can combine multiple goals on a single session to gain more detailed insights, such as measuring both duration and add-to-cart events. Also consider segmenting your reports by traffic source to identify which channels generate the most profitable goals. Further enrich the analysis by segmenting by device (mobile vs desktop) and using custom dimensions to track customer cohorts.

Convert over 2,000 customers on average per month with Qstomy.

The world’s 1st Shopify AI dedicated to customer conversion

Empowering 200+ e-commerce merchants

How to create a destination goal to track a key page?

The destination goal is suitable for tracking critical steps, such as the 'Thank you for your purchase' page. In the admin, open the column Vue then click on Objectifs. Create a new goal, choose 'Destination' and specify the page path, for example /tunnel de commande/merci. You can leave the criterion on 'Equals' for an exact match or choose 'Begins with' if the URL contains parameters. Assign a monetary value (e.g., €150) to quantify its impact. This configuration provides your sales conversion rate directly in reports. To further refine, enable UTM parameter tracking to distinguish performance by acquisition campaign, and create custom segments to analyze the behavior of visitors who reach this page compared to those who leave the site before. Finally, verify the trigger using the Google Tag Assistant extension and test in incognito mode to ensure reliability.

How to define a duration goal to measure engagement?

The duration goal is ideal for stores betting on content (buying guides, blogs). From the same goal form, select 'Duration' and specify the minimum time, for example 00:03:00 for three minutes. Each session exceeding this threshold will be counted as a conversion. You can assign a value (e.g., 10€) to value engagement. The duration report shows which pages retain the most attention and where to optimize the journey to increase time spent. By adding events related to scrolling or interactions on articles, you can correlate time spent with concrete actions, enriching the analysis and helping you identify the most engaging content. By cross-referencing this data with the bounce rate, you get a more nuanced view of the real value of each extended visit.

How to configure a pages-per-session goal?

To measure navigation depth, choose the 'Pages/Session' type. Specify the number of pages the visitor must view before a conversion is recorded, for example 5 pages. This configuration helps identify content that encourages customers to explore your catalog further. You can combine this goal with segments to compare journeys between visitors from email campaigns and those from organic traffic. Furthermore, by cross-referencing data with bounce rate and average time spent per page, you can refine your goals to better reflect the real value of the customer journey rather than a simple page count. Adjust the page threshold based on the average session duration to avoid penalizing mobile visitors.

How to set up an event goal to track specific actions?

Event goals first require adding tracking code to the elements you wish to measure, such as the 'Add to Cart' button, product video playback, or interactive map display. In Google Tag Manager, create an event tag with the corresponding category, action, and label, then link it to a trigger. Return to the goal admin, select 'Event', and replicate the same parameters. Once active, every recorded interaction appears in the events report, allowing you to optimize friction points. Remember to standardize the naming convention for categories and actions to facilitate multi-channel analysis, and set up instant notifications via Slack or email whenever a key event occurs to react quickly to unexpected behaviors. Test your triggers on major browsers and devices to ensure consistent data collection.

How to assign a monetary value to each goal?

Assigning a value to each conversion makes your financial data directly actionable. In the goal creation or editing form, fill in the 'Value' field. For example, a newsletter signup might be worth €5, while an average sale is worth €120. Google Analytics aggregates these values to display the estimated revenue generated by each goal type. You can cross-reference this information with the reports How to set up ecommerce tracking on Google Ads? to optimize your advertising spend. Additionally, it is advisable to periodically review these values based on changes in average order value and acquisition cost to ensure KPIs remain aligned with your business objectives. After each major promotion, recalculating monetary values keeps reports relevant.

How to create a conversion funnel to visualize the customer journey?

The funnel shows the steps your visitors take before reaching the destination goal. In the destination goal configuration, enable the 'Funnel' option and list the intermediate page URLs, for example, /panier, /tunnel de commande, /tunnel de commande/paiement. Google Analytics will calculate the drop-off rate at each step. This visualization indicates where friction occurs and where you need to simplify the process, for example by reducing the number of fields in the payment form. In GA4, the same concept is called 'Conversions' and you can visualize the funnel directly in the events reports.

How to analyze goal performance in reports?

Once your goals are created, go to the section Conversions > Objectifs > Vue d’ensemble. You will see the number of conversions, the conversion rate, and the generated value. Use secondary dimensions like Source/Medium ou Campagne to identify the best-performing channels. Custom reports allow you to add segments, such as visitors who added a product to their cart but did not complete the purchase, to adjust your campaigns Google Analytics Guide: tracking, conversions, and ecommerce insights (GA4). Regularly export this data to Data Studio to create interactive dashboards for marketing teams.

How to optimize goals to improve the conversion rate?

Optimization relies on analyzing collected data. Identify goals with the lowest rates and examine the path using funnel reports. Test page variants (A/B testing) by modifying calls to action, form layout, or button text. Track the impact of each change in goal reports. In parallel, use recommendations from How to optimize an e-commerce site for Google to improve site speed and content relevance. Set up multivariate tests to evaluate multiple page elements simultaneously.

What pitfalls to avoid when configuring goals?

Do not create redundant goals that measure the same action under different names, as this dilutes data. Always ensure that the URLs used in destination goals are accurate and exclude tracking parameters (e.g. ?utm_source["") using the "Starts with" criterion. Avoid setting excessively high monetary values without justification, as this may skew your revenue reports. Finally, do not neglect testing your configuration: access your site in incognito mode and ensure each goal triggers as expected."] Avoid goals based on temporary URLs generated by ad campaigns, as they disappear quickly and skew historical data.

How does Qstomy help configure and track your Analytics goals?

Qstomy, your specialized Shopify AI assistant, centralizes your tracking data and simplifies goal setup. Thanks to its integrated dashboard, you can create destination, duration, or event goals in a few clicks without touching code. Qstomy automatically links these goals to upsell, cross-sell, and product recommendation scenarios, allowing you to measure their direct impact on average order value. Additionally, it generates weekly reports that cross-reference goal performance with CSAT and package tracking metrics to optimize every step of the customer journey. Qstomy's real-time alerts panel immediately notifies you when a key goal drops below a critical threshold.

What final checklist should you use to verify your goals are configured correctly?

In short

  • Verify that each goal has the correct type (destination, duration, pages, event).

  • Ensure URLs are accurate and free of unnecessary parameters.

  • Assign a realistic monetary value to each conversion.

  • Test each goal in incognito mode.

  • Analyze funnel reports and adjust steps.

FAQ

  • Can I modify an existing goal? Yes, but historical data remains linked to the old configuration.

  • Do goals work with GA4? GA4 uses 'Conversions' which replace classic goals; the logic remains similar.

  • Should I create a goal for each product? No, focus on key actions (signup, purchase, add to cart).

By following this checklist, you ensure every conversion is correctly measured and actionable.

Finally, ensure you regularly re-evaluate your goals based on new platform features and evolving customer behavior; continuous optimization ensures your metrics stay aligned with your business ambitions and maximize return on investment.

To go further: Training an e-commerce chatbot with Shopify: using the right data without creating bad responses - Qstomy, Which platform to choose to create an e-commerce site? - Qstomy, Why use social media for e-commerce customer service? - Qstomy, How to improve conversion rates for e-commerce sales? - Qstomy. Document each goal (type, value, URL) in your internal wiki to facilitate maintenance and knowledge transfer.

Enzo

August 26, 2026

Convert over 2,000 customers on average per month with Qstomy.

The world’s 1st Shopify AI dedicated to customer conversion

Empowering 200+ e-commerce merchants

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.