Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to track which pages caused custom events in Google Analytics?

I have multiple pages being tracked by google analytics. On all these pages I have an outbound link for which I make a call to create a custom event - the action is named the same on all the pages.

How can I see a breakdown of which pages caused this event to occur. I.e.

Page 1 - 7 clicks on outbound link, Page 2 - 2 clicks on outbound link, Page 3 - 1 clicks on outbound link, Page 4 - 19 clicks on outbound link

Thanks!

like image 921
aloo Avatar asked Mar 23 '11 00:03

aloo


People also ask

How do I see events by page in Google Analytics?

Sign in to Google Analytics. Navigate to your view. Open Reports. Select Behavior > Events > Events Flow.


1 Answers

All events sent to Google Analytics send with the Page they were sent from (defined by location.pathname and location.search combined, if I'm not mistakened).

You can drill down into what pages those events occurred in by clicking the secondary dimension dropdown (by default, it says "None") and select "Page".

enter image description here

like image 62
Yahel Avatar answered Sep 28 '22 00:09

Yahel