Google Analytics "to use this feature visit: Event-Tracking.com" - google-analytics

Why am I seeing "to use this feature visit: Event-Tracking.com" along with my other Event tracking data? I searched the web but found no answers. What is it and why is it there? Using Universal(latest). Example event tracking for a download:
onclick="ga('send', 'event', 'Baseball', 'Download', '1977');"
I see analytic data for the above, but can't figure out why the "to use this feature visit: Event-Tracking.com" is posted too.

Eike's comment is the answer. Here is how to set the event filter.
In Google Analytics click Admin and then under the View column find Filters.
Add a new filter with Custom type.
Choose Exclude and in the option type "event" and select Event Category.
Paste in whatever garbage the spammers filled your account with.
Verify the filter to see if there are matches on your data set before saving the new filter. Note that any filters permanently delete the GA data from the account. Changes from applying a filter cannot be reversed.

Related

Google Calendar API - How to set Auto Join option for event participant

I have create an Event using Google Calendar API using 'hangoutsMeet' option.
However, despite being event participant, end users are getting 'Ask to join' button.
Is there any option which could allow event participant to join automatically without approval.
According to the Calendar API documentation on the day of this post it is not possible to automatically join participants to individual events as they will be required to accept or reject the event invitation.
From the documentation linked above:
Inviting someone to an event will put a copy of that event on their calendar. The invitee can then accept or reject the invitation, and to some extent also modify their copy of the event.
I hope this has helped you. Let me know if you need anything else or if you did not understood something. :)

Send custom data to google analytics from server side

I want to send these information title, target amount, category, account name to GA for every user who creates a page in our website. And if anyone make transaction on that page I want to generate a revenue of 5% based on the transaction amount for every transaction. I've no clue how to do that.
So far what I've achieved is I set up the service account by following this link and create a custom dimension. Playing with the code snippet I can update the name of the dimension and other things but not sure how to send an object value with all the fields that I need in this custom dimension. My question is if I call this again will it update and replace the old value with the new value? I don't want that. Every time I want to insert a new value in the old value. Shall I need another dimension and what if I want to relate this custom dimension data to ecommerce later on. How can I do that?
try:
analytics.management().customDimensions().update(
accountId='123456',
webPropertyId='UA-123456-1',
customDimensionId='ga:dimension2',
body={
'name': 'Campaign Group',
'scope': 'SESSION',
'active': True
}
).execute()
Can someone please suggest me what should I do here.
you use the measurement protocol to send data to google analytics. The google analytics management api is only for managing your google analytics account.
POST /collect HTTP/1.1
Host: www.google-analytics.com
payload_data
This article should help you achieve what you want.
Basically the custom dimensions in your url should be like cd1, cd2 so on...
https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters?hl=en#customs
Here is a code sample that might help
https://www.simoahava.com/analytics/13-useful-custom-dimensions-for-google-analytics/#23-payload-length

How can we filter the google calendar events with attendee name

Is there any way to get the calendar events specifically with attendee name.
I have checked the API for this,
GET https://www.googleapis.com/calendar/v3/calendars/calendarId/events
If I pass event name with q='abc'. I able to get the matched event.
But particularly I want to pass the attendee name to get the event from calendar.
With the above API, I suspect we might get by using privateExtendedProperty or sharedExtendedProperty request parameters (propertyName=Name) but I didn't get. I stuck while passing the values and get the desired results.
The search for google calendar events is free text.
Free text search terms to find events that match these terms in any field, except for extended properties. Optional. (string)
Which means that you add the text you want to search for and it will search for that value in all of the fields its designed to search. You cant specifiy that it should check only items(attendees%252Femail) for example
example Just add the persons email address you want to search for then you will have to process it again on your end to ensure that its actually the attended thats set and not some other field.

Using Google Analytics how can I track different audience segments viewing the same page?

I'm looking for some general advice. The site I'm currently working on is full of duplicate content that's about to be deduplicated. But it was built that way to track different audiences visiting the pages by reporting on the URL hits.
Current Links
www.MySite.com/homeowner/painting
www.MySite.com/professional/painting
www.MySite.com/designer/painting
My concern is that at the end of the day, the person managing the analytics wants to be able to look at their report and say "We had X number of professionals visit the site." Simply deduping will elimate that.
I'm thinking Google Analytics might have a way to pass audience/tags in via the URL like this:
Example Links with Tracking
www.MySite.com/painting?tag=homeowner
www.MySite.com/painting?tag=professional
www.MySite.com/painting?tag=designer
Is this possible with Google Analytics? Does anyone have an example website using this?
I've looked into Custom Dimensions and Metrics but they seem to be overkill https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets
Custom Dimensions are not overkill, it's a reasonable idea for you to use them (because segmentation is what they are for, really).
Using a url tag has a couple of disadvantages. For one The tagged pages will appear as three distinct rows in your reports - you will be unable to get an aggregated number for www.MySite.com/painting, instead you will have three Urls (or as many as you have parameters).
Secondly, homeowner etc. are attributes that belong to a session, or even a user (if the role cannot change from visit to visit). However if you track them via url parameters they have only a hit level scope, i.e. they are recorded as a property of the viewed page, not the viewing visitor. If you record this as a session scoped variabe you need to set it only at the first pageview, and the value will be applied to all subsequent pageviews for that session.
So an easy way (example assumes you are using php) might be to use
if(isset($_GET['tag']) {
ga('send', 'pageview', {
'dimension1': "<?php echo filter_input(INPUT_GET, 'tag', FILTER_SANITIZE_ENCODED); ?>"
});
} else {
ga('send', 'pageview');
}
in your tracking code after you have created a session scoped custom dimension in your property settings ("dimension1" referring to the first custom dimension in your account, the numeric index changes for each dimension. The dimension name is only used in the reports, not the tracking code). You need to be careful not to send an empty value when the query string is not present - a session scoped custom dimension only records the last value from a session, if you send empty values you overwrite the value you recorded at the first pageview.
Alternatively you can do this without changing the tracking code at all - create a custom advanced filter to capture the value from the query string, a second to copy the value to your custom dimension and a third to remove the query string from the url. However while that's a neat trick using code is much easier.

Once event was reported to Universal Analytics - is there any way to remove or modify it?

Suppose an event was reported to Google Analytics using their API. Once reported, is there any way to remove or modify the event?
Generally speaking, there's no way to delete or modify historical data - once it's in there, it stays there. However, you can try to use filters to filter the data you want "removed". For example, to exclude an event, you can create an Exclude filter to filter your event by category, action, or label.

Resources