Read Instructions Here!

Google Analytics for Widgets

From KickApps API Reference

Jump to: navigation, search

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.

Supported Events

The Google Analytics integration currently supports the following events:

  1. Widget views
    1. Widget views are recorded in Google Analytics as "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.
  2. Video plays
  3. User clicked anywhere in your widget
  4. User opened the syndication menu
  5. User clicked a link to upload a video
  6. User clicked a link to upload an audio track
  7. User clicked a link to upload a photo
  8. User clicked a link to create a blog post
  9. User clicked a link to the log in page for your community
  10. User clicked a link to the sign up page for your community
  11. User clicked a link to view more media items on your site

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.