Is it possible to view a specific event in Google Analytics? - google-analytics

We are using Google Analytics to track when a user presses the delete button on our site. The event looks like this:
/*
Category is "User_Images
Action is delete. e.g. they clicked the delete button
Label is "username:bob". So we know it was bob's fault
value is 7. bob deleted 7 images
*/
_gaq.push(["_trackEvent", "User_Images", "delete", "username:bob", 7]);
I can't figure out how to drill down to a specific event. The farthest I can go is to drill down to the summary for a specific user.
But I want to see a specific event. That is, I want to know how many images bob deleted per event. Is this possible?

You can set the secondary dimension (or even primary dimension) to be any of category, action, or label, and then find your specific event. Probably should create a custom report using the c, a, and l as dimensions, and total events as the metric.

Related

Is there anyway to see the (custom) events that I logged from my Firebase app in Google Analytics?

When browsing the events in Google Analytics for my firebase project, I cannot seem to view the (custom) parameters I am logging with each event for a longer period of time.
The only way I can see the parameters is for events logged in the last 30 minutes. In this image (https://gyazo.com/4bcb58411800e2a3de4f513d53187474) you can see in the top right corner that there is a possibility to select the parameter name and see all different values. However I want to do this for periods other than the last 30 minutes. Is this possible?
You need to register your custom parameters in Firebase UI under Custom Definitions section. And to be able to do that you need at least Editor role. A custom dimension has either an event scope or user scope. You can create up to:
50 custom dimensions and 50 custom metrics per property
25 uniquely named user-scoped custom dimensions
Click Custom Definitions under Configure (in the left navigation), then click Create custom dimensions:
Enter Dimension name.
Select a Scope from the drop-down menu (Event or User).
Enter a Description for your custom dimension.
Select an Event parameter (event scope) or User property (user scope) from the list or enter the name of a parameter/property you'll collect in the future.
Click Save.
PS: You will see a value of "not set" for a custom dimension during the first 48 hours.

Add a unique ID to a button in Wordpress

I have a Wordpress one-pager (salient theme using visual composer) with four buttons.
Every one is linked to the same contact form, which is correct.
Now I want to add a specific ID to each button in order to track which one is most effective in Google Analytics.
I track my other events using Google Tag Manager.
1) You need to create a trigger in GTM:
This trigger will capture clicks on all buttons which is opening contact modal popup
2) You need to create a custom variable, which will take a heading of the section, where this button is located.
Code is: function() {
return jQuery({{Click Element}}).closest('.wpb_wrapper').find('.vc_custom_heading').text();
}
3) Create a tag which will send data to GTM
4) Check your events in GA.
Keep in mind that it might take a couple of hours to appear in Behaviour-> Events tab. Or you can check it immediately in Real Time -> Events tab

GoogleMap Widget is not loading the coordinates

I have a simple relationship
companies - contacts
addresses
locations
The details (contacts, addresses, locations) are on a separate page. Each of these details is a specific table. For locations, I have added a little google icon that opens up a map widget in a separate dialog/window. The separate dialog where google map widget is tied to locations datasource. It should be tied to the specific location row the user clicked on.
The details page is based on companies and each of these details is a table based on contacts/addresses/locations.
Is there a way for me to tell appmaker to use that specific location when the icon is clicked on? I am not sure how it manages to tie the location from a specific company to the dialog. I am guessing it does not.
When user clicks the location icon the click event should be propagated to the row and the row with location you need should be selected. It means that you can achieve desired behavior just by playing with bindings. In theory something like this should make a trick:
// binding for latitude
#datasources.Company.relations.Locations.item.Latitude
// binding for longitude
#datasources.Company.relations.Locations.item.Longitude

Track menu link clicks in Wordpress with Google Tag Manager?

I would like to track how many people click on a link in the menu bar and where did they come from. Is there a way to do it? I see that in Wordpress there is a class called menu-item, but I don't know how this would help me.
Thanks in advance.
Google Analytics will track where users come from by default. Because of this, you only need to create an event to fire on the click class: menu-item.
After setting up event tracking, navigate to Behaviour -> Events -> Top Events. Once at this page, search for the naming of the event you created, and then select a secondary dimension such as Default Channel Grouping, Source/Medium, or whatever is relevant to your needs.
1) You need to create universal event tag. In fields to set, choose variable refferer and as value select {{refferer}}.
2) Create "click classes" variable with value: gtm.elementClasses
3) Create trigger of "Click - All Elements" type. Select "some clicks" and fill it with: {{click classes}} equals menu-item.

Change the NewPage for a TcxPageControl in the PageChanging event

We use a page control to step through a selection process from orders to products. The first tab shows a list of orders, the second tab shows a list of products for the selected order, and the 3rd tab contains a list of properties for the selected product.
If the user choose an order with only 1 product, we want to skip tab 2 and go straight to tab 3 to show the properties of the sole product.
I thought this could be done by setting the NewPage property of the PageChanging event, but it doesn't. What is a better way? To set the ActivePageIndex within the PageChanging event instead?
I would hide the tabs so the user cannot select them at all, and then use a pair of buttons to move back and forth between the pages as needed. When the user is on page 1 and is ready to move to the next page, the button handler can decide which page to show next.

Resources