Code example for Field

Methods: setBoolean

    Field currencyCode = MEASUREMENT_CLASS.getField("currencyCode");
    currencyCode.set(s, "USD");
    Field linkLeaveQueryString =
    linkLeaveQueryString.setBoolean(s, true);
     * WARNING: Changing any of the below variables will cause drastic changes 
     * to how your visitor data is collected. Changes should only be made when 
     * instructed to do so by your account manager. 
    Field dc = MEASUREMENT_CLASS.getField("dc");
    dc.set(s, "122");
    /* Configure debugging here */ 
    Field debugTracking = MEASUREMENT_CLASS.getField("debugTracking");
    debugTracking.setBoolean(s, false);
    return s;