This case study is based on website tracking and analytics implementation work completed for an agency client in the Australian B2B refrigeration and foodservice hardware industry. For confidentiality, the client name has been omitted.
The client is an Australian-owned manufacturer and distributor supplying commercial refrigeration, coldroom hardware, and foodservice equipment across Australia. Because their website supports e-commerce and lead-generation activity, accurate tracking was essential for understanding user behaviour, purchase activity, and digital marketing performance.
The main objective was to rebuild the client’s GA4 ecommerce event tracking setup using Google Tag Manager and data layer events, creating a more reliable foundation for reporting, optimisation, and campaign decision-making.
This case study supports my technical digital marketing experience across GA4, GTM, website tracking, HTML, JavaScript, analytics, and reporting.
The client’s existing tracking setup had several issues that affected reporting accuracy and campaign visibility.
Key problems included:
Missing or inaccurate conversion events
Broken or unreliable GA4 event tracking
Limited visibility on ecommerce actions such as begin_checkout
Poor data quality in GA4
No proper data layer setup
Inconsistent event naming and tracking logic
Unclear user behaviour across the purchase journey
Previous implementation that required cleanup and rebuilding
Because the tracking was unreliable, it was harder to understand which marketing activities were contributing to important ecommerce actions. This affected visibility across paid ads, SEO, and broader reporting.
The goal was to create a cleaner and more reliable GA4 ecommerce tracking setup that could properly capture key user actions across the shopping journey.
The approach focused on rebuilding the tracking foundation from the ground up using Google Tag Manager, GA4, and data layer events.
Instead of relying on inconsistent or fragile tracking rules, the setup was rebuilt around structured ecommerce events that aligned with the customer journey.
The key ecommerce events tracked included:
view_item
add_to_cart
begin_checkout
purchase
The begin_checkout event was used as one of the main examples during testing and validation, but similar cleanup and implementation work was completed across the other key ecommerce events as well.
The GA4 ecommerce tracking setup was rebuilt from scratch to improve accuracy and consistency.
This included:
Creating a new GA4 ecommerce event tracking structure
Aligning event names with GA4 ecommerce reporting requirements
Setting up tracking for key shopping journey actions
Improving consistency across product view, cart, checkout, and purchase events
Cleaning up issues from the previous tracking setup
This helped create a more accurate view of how users moved through the ecommerce journey.
Google Tag Manager was used to manage the event tracking implementation and make the setup easier to test, maintain, and update.
This included:
Creating GTM tags for ecommerce events
Configuring event-based triggers
Creating variables to capture data layer values
Testing tag firing behaviour in GTM Preview Mode
Debugging incorrect or missing event triggers
Validating that events were firing only when expected
This gave the client a cleaner and more structured tracking setup that could be managed more reliably moving forward.
A major part of the work involved using data layer events to improve tracking reliability.
This included:
Implementing data layer events for key e-commerce actions
Capturing event-specific values through GTM variables
Validating whether the correct data was being pushed into the data layer
Troubleshooting missing or incorrect data layer values
Using technical and coding knowledge to identify and resolve implementation issues
The data layer provided a more dependable way to track e-commerce actions compared with relying only on page URLs, clicks, or less stable front-end signals.
The implementation was carefully tested to make sure the new setup was working correctly.
Testing and validation included:
GTM Preview Mode testing
GA4 DebugView testing
Chrome DevTools checks
Google Tag Assistant validation
Event firing checks across key user actions
Comparison between incorrect tracking behaviour and the fixed implementation
This helped confirm that events were being captured more accurately and that the tracking setup was ready for reporting.
The tracking and analytics implementation was supported by:
Google Tag Manager
Google Analytics 4
Data layer
GTM Preview Mode
GA4 DebugView
Chrome DevTools
Google Tag Assistant
These tools were used to build, test, debug, and validate the e-commerce tracking setup.
The rebuilt tracking setup gave the client a stronger analytics foundation and improved the quality of their GA4 reporting.
The outcome included:
More accurate conversion tracking
Improved visibility across key e-commerce actions
Cleaner GA4 event data
More reliable tracking for paid ads, SEO, and reporting
Better understanding of user behaviour across the shopping journey
Improved visibility on lead and revenue sources
Reduced tracking errors
Stronger foundation for future digital marketing reporting and optimisation
The updated setup made it easier to understand how users interacted with the website, which ecommerce actions were being completed, and how digital marketing channels contributed to key business outcomes.
This tracking project showed the importance of having a clean and reliable analytics setup before making marketing decisions.
For an e-commerce and B2B supplier website, inaccurate tracking can make it difficult to measure performance, optimise campaigns, and understand the customer journey. By rebuilding the GA4 ecommerce tracking setup through GTM and data layer events, the client gained more reliable event data and a stronger reporting foundation.
The project also showed how technical implementation work supports digital marketing performance. Accurate tracking helps SEO, paid ads, ecommerce reporting, and future optimisation efforts become more data-driven and dependable.