Overview
The Google Analytics Utility allows designers to track user interactions with their application SAIL interfaces. It provides a means of tracking both page views and interaction events by leveraging the Google Analytics Measurement Protocol.
To use this utility, you will need a Google Analytics account and a property created in Google Analytics for each app to be tracked. If you do not have a Google Analytics account and property for tracking user behavior, you can learn how to set one up here: https://support.google.com/analytics/answer/1008015.
Key Features & Functionality
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.
Note:
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
yes.Thanks
Please unzip the file that you download from Community. Inside it contains a README pdf file as well as another zip that contains the application to be imported. Please review the README and then import the Google Analytics Utility 18.2.zip.
getting the above error while import package to the application