Google Analytics AMP Tracking - analytics

We checked the possibility to track AMP and non-AMP users via amp-analytics, custom dimension etc.
Can anyone tell me, if it’s working in Safari meanwhile? We had some issues with 3rd party cookies and couldn’t track Safari users in AMP and analytics.
Thanks

Do you mean AMP Client ID to track Analytics across AMP and Canonical Version?

Related

NextJS advice for SSG/SSR and Google Analytics/cookies

I have a NextJS site which is statically generated at build (SSG).
There are two things I need to implement next
Google Analytics
GDPR compliant opt-in cookie options
The first one is easy enough to do, however i'm struggling with making this GDPR compliant.
The issue is I don't have access to cookies at server side when my site is statically generated. This means that without knowing whether the user has consented to cookies at the server, I can't serve (or not serve) the analytics script along with the rest of the page.
Possible solutions:
Handle everything at client side - ask for consent, then dynamically add the GA tag to the <head>. However i'm worried this will negatively effect the analytics, or break it altogether. Does anyone know?
Change my site to be server-side rendered (SSR). I'd love to avoid this if possible. I'm really happy with how fast the site is running with SSG. It's essentially just a basic blog so would be a shame to have to convert for the sake of analytics.
Any other ideas?...
If anyone has experience with this, whether they used Next or Nuxt, etc, your input would be greatly appreciated!
Thanks in advance
Use Google Tag Manager to manage everything, your GA integration and your cookie integration using something like CookieHub for example (How to set up Google Analytics through Google Tag Manager for Next-Js?)
GTM will allow you to trigger the GA script only if the user specified he accepts analytics cookies.
Eitherway you could use Vercel.com built in analytics since your website is using Next.js wich is Vercel's framework.

Integration of analytics code to Google AMP project

I am looking forward to integrate my analytics URL to AMP page.
As i see on AMP analytics page we can provide our URL which will collect data but this URL needs to be integrated and approved by Google.
https://www.ampproject.org/docs/reference/components/ads/amp-analytics
I could not find any related document for this process.
Could you please provide me details for same.
Thanks
Viren
Try to check this tutorial if this is the one that you need. This tutorial can help you to implement Google Analytics using AMP. It has sample code that you can copy to know how to do it.
For more information, you can check this another tutorial about Using Google Analytics for Accelerated Mobile Pages (AMP).
This tutorial has a guide/steps on how to set up AMP with Google Analytics

Do Google Analytics offer a end-user opt-out option?

I am wondering if Google Mobile Analytics offer an opt-out option for end users to not have their data collected, and if so where can I get more info on it?
They dont offer an opt-out approach. If you would like to opt out of being tracked, you can use browser extensions such as 'Ghostery' to disable tracking on sites.
Visitors are seen as consenting to data collection methodologies and privacy policies by their continued use of a website.

Google Analytics is not showing all tracking of order

I am running a website and registered for Google Analytics. Got code embedded into my site.
My site in On Drupal and using Ubercart for Online shopping. There is only one payment mode BY CREDIT/DEBIT CARD.
The issue is that Analytics in not tracking my all orders that have been made, some of them is missing.
I have checked that the code has no issues in it, not problem of Sync as well because i have waited a long and orders that are missing are of the date say for example 5-9-2013 and i do have orders tracked of date 6-9-2013.
Anyone have any idea how to resolve it?
User can opt out of the Google Analytics Tracking, they may have not javascript, they may cancel page load before the tag has fired, they may sit an office where the company firewall filters out calls to the google server etc. Javascript-based tracking is never especially accurate (Google themselves warns that Analytics show Trends, not exact numbers).
So I don't think there's a way to resolve differences between GA and backend systems.

Why does it always display "No Insights Available" for my apps?

We have launched several Facebook apps. They are intended to run on Facebook Pages as tab-based iframe apps. These apps have been installed on dozens of pages, have thousands of daily users. Users who view these tabs do not need to authorize the apps, we don't require any permissions. When users share through these apps, we use the Facebook JS dialogs library.
With the exception of one, all of these apps display "No Insights Available" when I try to view the insights data. The only analytics we get from Facebook is the Insights summary page which includes some basic user, sharing and performance data - but no details are available.
As I mentioned, one app does have Insights. It was the first app we launched on Facebook. It was originally a canvas iframe app but now runs exclusively from profile pages. This seems to be the only difference from our more recent apps.
So I guess my question is this: is Insights availability triggered by having users access your canvas app? Or is there some other reason that we can not get Insights for all of our apps except the one original application? As I mentioned, users are sharing from these apps and we would love to know more about the reaction those stories are getting.
(I filed a bug with Facebook but after an initial request for app ids and a promise to look into it, they have since stopped responding to my requests for an update.)
In the end, it turns out this was a Facebook bug that they have now fixed. We weren't doing anything wrong. The fact that one app had canvas page views and the other did not was purely coincidental.
On Wednesday, Facebook has deployed an updated version of Insights that integrates with their application page directly - and miraculously, we're able to see Insights data for all of our applications again, including historical data that Facebook previously listed as "No insights available."
If anyone is interested, here's their blog posting on the upgraded Insights application. https://developers.facebook.com/blog/post/554/

Resources