Google Analytics for Widgets
From KickApps Documentation
Installing Google Analytics in widgets
To install Google Analytics in your widgets, log in to Google Analytics and copy the Web Property ID (looks like UA-xxxxx-yy) of the website profile in which you'd like to track your widgets. Then, back in the App Studio, paste this ID into the Tracking panel of any widget that you wish to track (find the Tracking panel under Window > Tracking).
Once Google approves your application to the Event Tracking beta, a new Events section will appear under the Content panel in your reports. Google Analytics does not update in real time; data is generally 24 hrs. old, and occasionally older, so don't be alarmed if you don't see your data right away or notice a lag.
Supported Events
The Google Analytics integration currently supports the following events:
- Widget views
- Widget views are recorded in Google Analytics as regular "pageviews", where the "pageview" entry is a long string composed of Affiliate Site ("AS") ID/Widget ID/encoded URL on which the widget was viewed.
- Video plays
- In Google Analytics, under "Content" > "Event Tracking" > "Video Play"
- User clicked anywhere in your widget
- In Google Analytics, under "Content" > "Event Tracking" > "click"
- User opened the syndication menu
- In Google Analytics, under "Content" > "Event Tracking" > "syndicate"
- User clicked a link to upload a video
- In Google Analytics, under "Content" > "Event Tracking" > "upload videos"
- User clicked a link to upload an audio track
- In Google Analytics, under "Content" > "Event Tracking" > "upload audio"
- User clicked a link to upload a photo
- In Google Analytics, under "Content" > "Event Tracking" > "upload photos"
- User clicked a link to create a blog post
- In Google Analytics, under "Content" > "Event Tracking" > "upload blogs"
- User clicked a link to the log in page for your community
- In Google Analytics, under "Content" > "Event Tracking" > "login"
- User clicked a link to the sign up page for your community
- In Google Analytics, under "Content" > "Event Tracking" > "signup"
- User clicked a link to view more media items on your site
- In Google Analytics, under "Content" > "Event Tracking" > "more"
Custom Events
In addition to these pre-defined events, you can also send custom event entries to Google on when any events occur within your components. See the "Track Event" action entry in the Events & Actions reference.
Favorites






