Mobile app version of vmapp.org
Login or Join
Radia820

: Google Analytics: How to track goal steps with events? I am looking for a way to setup several goal steps that are not URLs. My funnel should look like: unique visitor interested visitor (visited

@Radia820

Posted in: #GoalTracking #GoogleAnalytics

I am looking for a way to setup several goal steps that are not URLs.

My funnel should look like:


unique visitor
interested visitor (visited more than 1 page)
registration started user (event fired)
registered user <- goal (event fired)


But I can't identify some of those 'steps' by a simple URL.

My approach is now to fire an event with an url like:

ga('send', 'event', 'reg', 'regstart', {'page': '/my-new-page#regstart'});


and for registration success

ga('send', 'event', 'reg', 'regsuccess', {'page': '/my-new-page#regsuccess'});


and this is my config:



I fired the events via console to see if it works - but nothing shows up in analytics report.

Any ideas why?

Edit 1: I edited my whole question because of @Geoff Jackson recommendation to track this special url with an event.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Radia820

1 Comments

Sorted by latest first Latest Oldest Best

 

@Murphy175

@Geoff Jackson helped me to write this little how to.

If you have a website with a lot of Ajax in use or just steps/goals that you can not identify via URL you will have to use extra pageview-tracking. That is because Google Analytics does not allow custom events or dimensions in their goal steps.

Example:
On each page of your website is a button that opens a lightbox with a registration form.
When your visitor registers, there will not be a 'thank you' page. Informations about next step, that he has to check his email account for an activation link, will show up in this lightbox too. Your goal is that a visitor activates his account by clicking this link in email that you have sent him.

First we integrate the events for...

... starting registration process. This event will be fired as soon as the lightbox with registration form opens.

ga('send', 'pageview', '/regStart');


... next is when he sends the regform. Event will be fired as soon as server answers via Ajax that confirmation mail was sent and on screen is an appropriate message.

ga('send', 'pageview', '/regSuccess');


... and finally, we setup an event for our goal. That will be fired as soon as he clicked the activation link in the confirmation mail.

ga('send', 'pageview', '/accountActivated');


This last step is not necessary if you've a special 'account activated' page. But since there could be many possibilities and you don not want/can not use regexp, this might be a good solution.

Now we have to setup this goal at your Google Analytics account like this:


I test such scenarios with simple console calls - so if you just want test it - setup your goal and copy paste those GA-events.

Here you can read more about it at Google docs.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme