How does google anayltics know about Google ads? - google-analytics

There is something quite basic that confuses me. I use Google ads conversion tracking with Google Tag Manager, and I don't understand how my google analytics know about these ads in the first place. I mean, the conversion tags I create in Google Tag Manager don't include the Google Analytics tracking code at all.
What am I missing?
Thanks

It knows based on the url structure of the incoming links.
This link gives a good overview.
UTM Codes: How to Track Campaign URLs in Google Analytics
This tool allows you to see how the different urls are built and decomposed in GA.
campaign-url-builder
Essentially the structure is integrated and google analytics logically decomposes and presents the data in a meaningful format based on URL.

Related

Track Newsletter Link Click with Google Analytics

I am partnering with an email newsletter to include some url links I'd like to advertise.
Can someone advise on how I might get "click" stats on these url links? The links neither redirect to my website/app, and are just links to, for example, a youtube video.
I've gone down the rabbit hole of Google's Campaign URL builder and Google tags, but am admittedly lost as a complete beginner regarding Google Analytics, tracking, etc, so any guidance would be greatly appreciated.
With Google Analytics, the only way you can track clicks within is if you leverage UTMs and drive traffic to a site or property that you own. I believe the UTMs might translate to YouTube account but, again, you have to own the video.
There are ways of leveraging Universal Analytics tags, in the form of pixels, that only measure when an email is opened (and the picture is essentially downloaded). But this doesn’t relate to clicks.
More than likely you will need to either use a dedicated email platform with built in analytics, or subscribe to an email analytics service. Google Analytics won’t really be of any value to you.

Google Analytics Social Interactions via. gtag.js

Google Analytics documentation seems light on this topic, but historically businesses have been able to track social sharing interactions on their websites - 'Social Plugins' - via. both ga.js and analytics.js. See here: https://support.google.com/analytics/answer/1316556?hl=en
For use case example, as a business, an analyst would like to understand how often website content is shared onto social networks by website visitors.
The problem I'm having is, I can't easily find what the gtag.js equivalent is of this functionality. The closest I can find is to send a gtag event called 'share' - but not sure if this will populate the Social Report under Acquisition in Google Analytics.
Could anyone please advise how to track Social Interactions via. gtag.js for Google Analytics?
//ga.js
_gaq.push(['_trackSocial', network, socialAction, opt_target, opt_pagePath]);
> https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSocial
//analytics.js
ga('send', 'social', [socialNetwork], [socialAction], [socialTarget], [fieldsObject]);
> https://developers.google.com/analytics/devguides/collection/analyticsjs/social-interactions
Note: I found this website which website - https://www.balkanweb.com/peshq-te-barabarte-pavaresisht-nga-madhesia/ - which does seem to use gtag event 'share' function but I am just not sure if it populates the Social reports in GA as I can't see any documentation to support that.
gtag('event','share',{method:'twitter',event_action:'tweet',content_id:targetUrl})
I made a test and I confirm that the share event mentioned does not end up in the social report but in the event report.
Since the gtag.js documentation does not mention social hits (the parameter can only be: CONFIG, SET or EVENT) I believe there is currently no way to send that type of interactions from the website with gtag.
Sadly there is no way to translate this social hit type from UA (Universal Analytics) to GA4 (Google Analytics 4) directly.
The Universal Analytics to Google Analytics 4 migration guide (by Google) mentions this in the Hit types section of the document comparing the two:
Universal Analytics hit types include page hits, event hits, ecommerce hits, and social interaction hits.
In contrast, Google Analytics 4 data is event-based, with the principle that any interaction can be captured as an event. As such, Universal Analytics property hit types translate to events in a Google Analytics 4 property.
Further down the document it also says:
[...] it’s better to rethink your data collection in terms of the Google Analytics 4 model rather than port your existing event structure to Google Analytics 4.

Google Analytics link to Adwords

Having trouble linking separate accounts from GA to Adwords. They are different emails, both tracking the same site. The main GA email works with a lot of different sites, so I don't want the Adwords to have access to all of it.
The Adwords account seems to have created its own analytics site --but it's not the one I've been working with.
Help?
If I understood correctly, the possible solution to your problem is setting the cross-account conversion tracking by creating the My Client Center (MCC) account: https://support.google.com/adwords/answer/1704399?rd=1
This account is actually an AdWords account that lets you easily view and manage all of your AdWords accounts (including other MCC manager accounts) from a single location.
For additional information, please refer to:
https://support.google.com/adwords/answer/3030657?hl=en
http://www.wordstream.com/blog/ws/2013/08/06/link-adwords-to-analytics-guide
Hope I helped.

Passing Google Analytics data from classic to universal

I need to explore the possibility of passing my existing GA eCommerce data (using Classic Analytics) over to a new universal analytics account.
I do not want to make the full switch as yet for various reasons. I do however want to use universal analytics to track newsletter email opens.
I would very much like to include the transaction data to this new universal analytics account so that I can put opens and revenue side-by-side. I know it is possible to aggregate analytics accounts to one profile but because classic and universal are different I wonder if there is any way we can aggregate data from Classic to universal?
Or do I place two tracking scripts on the thank you page?
Any tips or advice will be much appreciated.
From official help page "Set up Universal Analytics":
Best practices
If you want to try UA on a website you’re already tracking with Google
Analytics, we recommend you use the ga.js and analytics.js tracking
code concurrently to maintain continuity in your first account. Send
the data sets to separate properties: UA data to a dedicated UA
property, and ga.js data to a non-UA property. Data cannot be merged
or reprocessed after it’s collected. Alternative configurations are
not supported and can result in corrupted or incomplete data.
In the coming months, look for documentation to help you migrating
your existing Google Analytics web properties and data to UA.
So you can place two tracking scripts on the page.

What is utmu parameter in google analytics __utm.gif request?

I am trying to make the google analytic __utm.gif request using php. I have broken all the variables and the only one which I don't know about is utmu parameter. It is not documented anywhere.
When I see a pageview tracking request it is appended to the end of request as &utmu=qB~
While doing ecommerce tracking it is appended as &utmu=qBAL~
Please help me with this.
It is a bitmap of all of the methods used to build the request.
Source: http://glucik.blogspot.com/2011/02/utmu-google-analytics-request-parameter.html
utmu doesn't actually contain anything of external meaning. Google uses it to store some internal values that help them improve ga.js. It's not required to make any functionality work, so, your PHP code doesn't need to account for it.
However, you should know there are already a few long-standing PHP-based Google Analytics projects, like Server Side Google Analytics (SSGA), as well as the semi-official Google Analytics for Mobile PHP and PHPGA.

Resources