Google Analytics API: filter by URI?
Use the ‘Contains a match for the regular expression’ operator (~) from the Dimension Filters. filters=ga:pagePath=~/profile/123/*
Use the ‘Contains a match for the regular expression’ operator (~) from the Dimension Filters. filters=ga:pagePath=~/profile/123/*
Now there is also the Google Optimize javascript API available that is a better option: The experimentId is now available in the Optimize UI, as soon as the experiment is created (before start). The API is already available in the page and you can use it like this: google_optimize.get(‘<experimentId>’); (note: this will work only after … Read more
It appears that the GoogleAnalytics cannot consume a generic GoogleCredential and interpret it as a ServiceAccountCredential (even though it is acknowledged, interally, that it is actually of that type). Thus you have to create a ServiceAccountCredential the hard way. It’s also unfortunate that GoogleCredential does not expose the various properties of the credential, so I … Read more
The code you entered in the example, G-XXXXXXXXXX , refers to the new Google Analytics 4 which, being a different system from the previous one and does not work (yet) with that plugin. So you can follow the instructions mentioned in the answer of @Shyam or (and I suggest you because GA4 is too unripe … Read more
You cannot delete it. That is why it is important to setup a test profile to send data to while you implement/qa.
Since Google Analytics was revised the currently accepted answer is no longer available. The current version of Google Analytics will let you view visitors per hour: Go to the Reporting Tab Select “Audience” Select “Overview” Select “Hourly” If you’re trying to determine total traffic by hour of the day for a given date range then … Read more
You have to include two more things: #import “GAIDictionaryBuilder.h” #import “GAIFields.h” Checking what’s in GAIFields.h I can see that kGAIScreenName is there: extern NSString *const kGAIScreenName; // synonym for kGAIDescription Might be important point that the current Google Analytics is in beta, so using the latest downloadable SDK is always a good idea. What I … Read more
One of things that comes to my mind is the identity of your app pool, make sure that the Load user profile is turned on otherwise the crypto subsystem does not work.
Clear your browser cache. Started getting this error in Chrome and then I created a new client id and was still getting the issue. Opened firefox and it worked, so I cleared the cache on Chrome and it started working.