The Google Analytics Utility allows your designers to track how users interact with their application SAIL interfaces. It provides a means of tracking both page views as well as interaction events by leveraging the Google Analytics Measurement Protocol.
It requires a Google Analytics account and a property created in Google Analytics for each app to be tracked. If you don't already have a Google Analytics account and property for tracking user behavior, learn how to set up your account here: https://support.google.com/analytics/answer/1008015
That's good that you can reproduce outside of the Google Analytics Utility. Please open a Support case and ask them to investigate why you cannot connect using this sample utility. Let me know what Support says. I haven't heard of this before but if this is a new change to Appian Cloud then we may need to change this utility to account for that.
the sample utility which i have downloaded here, shows the below error here.
appian deployed in our cloud environment. How to add csp policy to allow remote images from Google Analytics
Interesting. Are you self-managed or on Appian Cloud? Seems like there is a CSP policy that is blocking remote images from Google Analytics.
got the below error
Try using the Developer Console > Network tab and confirm that requests from the interface are being sent to Google Analytics.
Step 1: i have downloaded the utility and added the zip file to my application
Step 2: i have navigated to google analytics and logged in with my gmail account and created Appiantrackingproperty as below which starts with UA-
Step 3: i have replaced the GA_trackingid in the utility code with mine.
Step 4: I have created site and added GA_demointerface and launch the site. Navigated through the interface buttons.
Step 5: Coming to google analytics page and checked the status as below
It is showing 0 users.
While creating property in google analytics, in weburl i have given the appian siteurl there.
Appian Site web-address: https://abc.com/sites/ga-site
Google analytics web url:
Appian is deployed in cloud and we are using that for development. I have added my gmail id as user in google analytics Utility app administrator group as well.
what i have missed? help me to resolve this.
Please check that you created your site as a "Universal Analytics (UA)" property instead of the newer "Google Analytics 4 (GA4)" type. We're still working on adding support for GA4 (see discussion below).
I have configured the utility as mentioned in the README. Replaced the trackingid constant value with mine.
I couldnt get the user info in google analytics . it is showing 0 users on site
© 2022 Appian. All rights reserved.