Skip to content

Instantly share code, notes, and snippets.

@robisaks
Created February 28, 2013 15:33
Show Gist options
  • Save robisaks/5057580 to your computer and use it in GitHub Desktop.
Save robisaks/5057580 to your computer and use it in GitHub Desktop.
tracker.setCustomVar(1, "apiSessionId", sessionId.toString());
tracker.trackEvent(vid.getRefId(), "mediaComplete", unixTime+"", 0);
tracker.trackEvent(vid.getRefId(), "mediaViewTime", secondsWatched+"", 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment