0405123696 petra@web-data-analytics.com

 3,097 total views,  4 views today

ECommerce analytics requires accuracy in order to make good use of the mountainload of data you have coming to you every day. You need to understand precisely what is happening on your site. And this really requires you to be on the ball, as just an errant character in your page URLs can really put a spanner in the works.

For example, some eCommerce platforms have an infuriating software defect where some page names have a forward slash (/) at the end, and others do not. This can even occur on the same page of the website! This will result in inaccurate data, as Google Analytics will treat these as two different pages. You will literally see the same page listed twice, one with the slash at the end and one without. Your page view data will be split between them. Magento is one of the platforms that comes to mind where I have regularly seen this occur, but it’s not the only one.

So we’re going to create a filter which will alleviate the problem.

remove trailing slash in google analytics filter

For this filter, choose a Custom Filter Type and select Advanced.

In Field A> Extract A choose Request URI and type in ^/(.*)/$

In Output To → Constructor type in /$A1

You need a tick in Field A Required and Override Output Field.

What this is going to give us is a URL that doesn’t have any slashes at the end of it. If there’s a slash, it’ll take it away. If there’s no slash then it will keep it that way. Thank Goodness!!

This is a pretty straightforward way of alleviating any problems with trailing slashes. Do include this filter in your filtered views; it is essential to get this ironed out on your site if you want to avoid annoying problems that will result in misleading data.


charles marois olsa tools

Working with Petra was a great experience, communication was easy and she is very organized. She also provided detailed reports of the work she had done and the results generated. We would definitely recommend her services.

Charles Marois CEO, Olsa Tools Ecommerce Google Ads April 23, 2020

Ian Gale - Sleepwise Clinic

Petra was instrumental in pulling all our clinic's web analytics into one easy to read, dynamic report that's accessible to me at any time, and works with our EXACT booking system.

This has allowed me to see, at a glance, what marketing initiatives are working, need tweaking, or changing altogether, saving me both time and money. I can't recommend her or her analytic services enough.

Ian Gale SleepWise Clinic Analytics Dashboard August 1, 2018

Michelle Bridger

Petra's detailed reports and her personal assistance has been helping us to know where to concentrate our efforts and even showed us technical issues we needed to fix. Our Audience Engagement Report identified several key interests of our buying audience. We tried targeting one of those interests and it brought in two sales almost immediately! I highly recommend working with Petra and accessing her brilliance to scale your business.

Michelle Bridger Michelle Bridger, Facebook Advertising Specialist Ecommerce Google Tag Manager, Google Analytics & Google Data Studio Configuration April 23, 2020

leesa dawson

I am so grateful to have met you, as I think your insights are the BEST I have ever come across.

Leesa Dawson CEO, The Uniform Stylist Ecommerce Google Ads April 23, 2020

Sophie Abnett

Here at 1834 Hotels we centralise the marketing for many different hotels. It can be an enormous undertaking to monitor and track the performance of each one, especially when they are all on separate webpages.

Petra helped to resolve this difficulty by creating a central hub in Google Tag Manager and Google Analytics with Cross-domain tracking and Ecommerce as well. She created many valuable analytics dashboards and reports that draw from the centralized source. Now that we have all the analytics tracking working it has improved the accuracy of our reporting and the insights have helped develop better marketing strategies.

Petra’s skills and wealth of knowledge is fantastic. I would recommend Petra without hesitation.

Sophie Abnett Digital Marketing Project Manager at 1834 Hotels Ecommerce / Hotel Google Analytics, Google Tag Manager & Google Data Studio Integration April 23, 2020