0405123696 petra@web-data-analytics.com

 4,804 total views,  1 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.


david clayton myomasters

Your attention to detail is beyond what I had expected. The detail of the data is incredible. The best part though was to learn the profile demographic - which is very different to whom I think I've been trying to target through social.

David Clayton Director, Myomasters Massage Health Clinic Google Ads April 23, 2020

Erica Stacey Scout Digital

I recently worked with Petra to improve my understanding of Google Tag Manager.

Petra not only provided a solid overview of GTM set up and event tracking, she also provided many tips on best practice, and answered the questions that I didn't even know to ask!

Petra is patient, fun to work with, and her analytical programming mind is hell bent on finding the BEST solution to any data, analytics or tracking problem.

Erica Stacey Scout Digital Marketing Strategy Session June 21, 2017

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

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

brett leggett

Hi Petra, Hope you are well, I checked out the Google Analytics and all I can say is AWESOME. You have essentially doubled her revenue in a month and the Google Ads seem to be popping off!

Brett Leggett Brett Leggett ✪ eCommerce Growth Specialist Ecommerce Google Ads April 23, 2020