5

Recently there has been a spate of Google Analytics spammers. They typically: Send requests directly to Google's collector script without ever hitting your website. Put advertisements for their website into referrers or other places where the data shows up in your reporting Customize their requests only with your Analytics Id (but not with your domain ...


4

Of course, you can. It's as simple as creating the tags in Google Tag Manager and set up those events in Google Analytics as Goals. However, in this scenario, you can send the data to Analytics as events or virtual pageviews. As events, you can check them in the event's report and as virtual pageviews, you can work with them as usual URLs inside Analytics. ...


3

This depends on where you are looking for the goal conversions. If you look at Conversions > Goals > Goal URLs, all conversions will be attributed to the home page since that's where they literally occurred. However, if you go to Behavior > Site Content > Landing Pages, you should see conversions attributed to the blog pages -- after a quick change to the ...


3

You need to enable subdomain tracking. You can do it in Google Analytics or configure this through Google Tag Manager. Those are the steps in Analytics: Setting the cookie Set cookieDomain to auto in order to create a cookie for the hole domain. It's the default value. ga('create', 'UA-XXXX-Y', 'auto'); Exclude your domain as referrer Include your domain in ...


3

First of all, you need to make sure you are using the same Analytics version tracking code. In your question, the main tracking code uses gtag.js but the event code is based on analytics.js. You should use -as it's newest- gtag.js. So, the code to use would be: var trackOutboundLink = function(url) { gtag('event', 'clic', { 'event_category': '...


3

The answer depends on (A) what you mean by "visitor behaviour" and (B) how much you are prepared to do in terms of adding to or drawing from what's available in Google Analytics 'out of the box'. GA will track some visitor behaviour 'out of the box'. E.g. the pages the user visits, when they visited those pages, the source/medium of the session, and so on. ...


3

The GA tracking code snippet example is Global Site Tag gtag.js version of GA, however the event tracking code format in your example is Universal analytics.js format and also should not need javascript: in it. Instead try the following: onclick="gtag('event', 'click', {'event_category': ''buttons, 'event_label': 'Test 123'});" Depending on what ...


3

I've found some more info about this topic. This is the docs related to the Google Analytics 4 and gtag implementation. https://developers.google.com/analytics/devguides/collection/ga4/tag-guide And this is the enhanced measurements doc: https://support.google.com/analytics/answer/9216061 From the image, above, we can see that it will listen for history....


2

You can solve this by creating a new segment in Google Analytics. In the segment you go to Advanced and pick Conditions. Now you create a filter. In the drop down pick "Count of Sessions" and then you choose >= 5. This will filter out users with 5 or more sessions for the current date range you have selected. Give the Segment a good name and save it. ...


2

Goal verification is not always accurate, it's based on the past 7 days of data and depending on the sample size of data, it may be too small. Are you seeing the events tracked in the Behaviour > Events > Overview report? How long ago did you configure the goal, they aren't retroactive in the reports, so will only track going forwards from the time of ...


2

I found the solution to the problem myself and I would like to post the answer in here just in case someone goes through the same struggle. Basically the Goal value did not match the value in the function. The Goals configuration page looked like this I noticed the message under the "Use the Event value as the Goal value for the conversion" (Answered "YES"...


2

This is a difficult segment to get at; you will have to kind of circle around it, and may or may not get the exact numbers you are hoping for. Bounces are not what you are looking for - a bounced session is a session consisting of only one hit, and if your session includes a pageview and an event (as I assume it does) it will never be a bounce. In addition, ...


2

To answer your question - no it wont cause duplicate tracking. Each GA tag needs to have the tracking ID associated with it. If you had two pageview tags for the same tracking id triggering for the same page.. then it would show two pageview hits being fired for the relevant page (duplicate tracking). GTM also allows you to setup trigger exceptions so some ...


2

Analytics increments the Unique Events metric by 1 the first time during a session that it receives an event with a unique combination of Category/Action/Label. A defined goal is track once per visit. So if you have for example these two events in a session: - Event 1 category: Form action: Complete label: Sign up - Event 2 category: Form action: Complete ...


2

The event value is an integer and should not be within quote characters. ga('send', 'event', 'Captain', 'Click', 'Captain telegram', 1); https://developers.google.com/analytics/devguides/collection/analyticsjs/events#event_fields As the link is using target="_blank", the visitor leaving the page should not be an issue as the initial page with the ...


1

It looks like the reason I wasn't finding my answer from "Googling" it is that my solution should be found by making a change to my site, not to changing Google Analytics setup. I use Contact Form 7, and this page https://contactform7.com/tracking-form-submissions-with-google-analytics/ seems to indicate that I have to get rid of the Contact Form 7 event ...


1

You are missing "send" syntax, that is the reason. Here is an example ga('send', 'event', 'eventCategory*', 'eventAction*', 'eventLabel' , 'eventValue'); gtag('event', 'Action', { 'send_to': 'GA_ID', 'event_category': 'Category', 'event_label': 'Label' }); Event category and action are required, label and value are optional. Try that, also i have ...


1

How long have you given the data to show up in the Behavior > Events > Overview report? It will take a day to appear there (theoretically it could be two days, but that is unlikely for Events). Since you are seeing your events in the Real-Time report, there should not be a problem with them appearing in the Events reports after the delay. At that point I ...


1

Unfortunately there is no way to perform calculations of this type within Google Analytics or Google Data Studio. You can divide one metric by another (such as Unique Events / Total Events), but not one dimension's metric value by another dimension's metric value. If you need this on an ongoing basis, so it's worth some extra work to set up a report, you ...


1

Google Tag Manager + Conversion Linker should do the trick here. There's nothing too crazy about the data you're looking to collect. From Google: When people click on your ads, the URL of the conversion page on your website typically includes information about the click. When a site visitor takes an action that you’ve tagged as a conversion (e.g. when a ...


1

This is fine. You end up having your custom dimension associated with that session thanks to your event hit. You are not sending dimension value on your pageview.


1

Google analytics will only record one of that goal per session. In essence, it's reporting on the deduped 'Unique Events' figure, not the Total Events.


1

If your even tracking code is correct then they should show up. To troubleshoot do this: 1) Load the page that has an "event" on it using Chrome. (Page with a link that includes tracking code.) 2) Right Click and Select - Inspect Element 3) Switch over to the Network Tab and refresh your page 4) Find your GA request using the Search Filter. Type in the ...


1

The Top Events reports has the number you are looking for. It is called "Unique Events". From the context sensitive help: Total Events - Total Events is the number of times events occurred. Unique Events - The number of times during a date range that a session contained the specific dimension or combination of dimensions. So the "total" is the number of ...


1

You can get the answer you are looking for by viewing the events report but with a "segment" applied that filters out all the traffic that isn't for the page that you are interested in. View the events report Click "+ Add Segment" Click "+ New Segment" Click "Advanced -> Conditions" Add the filter "Page exactly matches /mypage.html" (with the URL for the ...


1

One way of getting the data that you are looking for is to create an advanced segment for users that have the event. When that advanced segment is applied, the reports will only show data for users with that event. You can then view a report that shows advertising cost and see how it is related to that event.


1

You're requesting a column that doesn't relate to the event data. Cost is only tracked against advertisements (as the category suggests). You need to describe a method that allows Analytics to link the two. If you want to track the 'cost' of an event, try setting it as a goal. You can then look at it from the other direction - pull up campaigns and see how ...


1

Site is based on WordPress and turns out it had an old plugin installed that was using the former version of Google Analytics to send events itself; as soon as I deactivated that plugin events started showing up. The aforementioned plugin is: Analytics Reduce Bounce Rate I also commented out this line (as suggested by @nyuen): value = typeof value !== '...


1

This is the event code you want to trigger - ga('send', 'event', 'download', 'click','download overview'); However, it could be that the tracker object (in the sample above it is ga), might have been initialized with a different variable name. For e.g the WordPress plugin Monster Insights typically initializes the tracker object as __gaTracker. What I ...


1

Clicks and Sessions are different metrics. Google AdWords tracks Clicks, while Analytics tracks Sessions. If a user clicks on your ad twice within thirty minutes without closing his or her browser, this is registered by Analytics as one session, even if the user left your site and then returned shortly after. For example, if a user clicks on your ad ...


Only top voted, non community-wiki answers of a minimum length are eligible