Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics - Goal Funnel Steps

Is there a way to test the url you're entering in a step, to see if Google Analytics will recognize it?

What I'd like to do is provide some web page or some web service with a URL, and get a pass or fail. It passes if Google Analytics recognizes a page hit to the url.

Let me give some context.

We've been having issues with our goal funnel steps in Google Analytics. The instructions on adding steps say not to use the domain.

e.g.

DO NOT use : http://www.mysite.com/step1.html

INSTEAD use: /step1.html

Our custom CRM uses friendly urls and as a result GA is having a hard time picking up on them. So we've experimented with changing around url we've placed in the step, however we've got to wait a day to see if the new url we've provided is going to work! Hence why we're looking for something quicker.

like image 284
Daniel Avatar asked Feb 25 '26 08:02

Daniel


1 Answers

OK- so what you're doing is futzing around with the friendly URLs to see what's being tracked (so you can distinguish one URL from another), but you don't want to have to wait?

There are a few Firefox plugins which report on on-page GA (WASP & Observepoint), but the Firebug Net panel is as good as anything.

The other option is to pass a 'virtual URL' to GA in the _trackPageview, rather than depend on the friendly URL - maybe something like this

_trackPageview("/goal1/step1")

although I'd attempt to have the virtual URL (it's really just the path) named more like the actual steps in the process.

like image 104
Jamie Avatar answered Mar 01 '26 01:03

Jamie