code: public void trackPageViewFromReferrer(String argPageURL, String argPageTitle, String argHostName, String argReferrerSite, String argReferrerPage) {
          if (argPageURL == null) {
              throw new IllegalArgumentException("Page URL cannot be null, Google will not track the data.");
          }
          AnalyticsRequestData data = new AnalyticsRequestData();
          data.setHostName(argHostName);
          data.setPageTitle(argPageTitle);
          data.setPageURL(argPageURL);
          data.setReferrer(argReferrerSite, argReferrerPage);
          makeCustomRequest(data);
      }
docs: Tracks a page view.
  
  @param argPageURL
  required, Google won't track without it. Ex:
  <code>"org/me/javaclass.java"</code>, or anything you want as
  the page url.
  @param argPageTitle
  content title
  @param argHostName
  the host name for the url
  @param argReferrerSite
  site of the referrer. ex, www.dmurph.com
  @param argReferrerPage
  page of the referrer. ex, /mypage.php