getSection

The getSection command is used to retrieve the parsed representation of a section. Click here to view the getSection command in the GPP specification.

By default, Sourcepoint will set the respective U.S. State privacy section for each of the following U.S. states that are added to the framework territories of a property's vendor list: California, Colorado, Connecticut, Utah, and Virginia. The U.S. National Privacy section will be set for all other U.S. states added to the framework territories of a property's vendor list.

Command

🚧

U.S. National Privacy Section

Please note there is currently a discrepancy between the documented client side API prefix for all sections in the GPP specification and how it is implemented via the GPP stub file. In order to ensure your commands execute successfully, the articles in this section will utilize the API prefixes as it is implemented via the GPP stub file until the discrepancy is remedied.

__gpp('getSection', (data,success)=>{console.log("getSection request successfully executed: " + success);console.log(data)}, 'usnatv1');
function getSection_fn(data, success) {
  console.log('Get section request successful: ' + success);
  console.log(data);
}

...

__gpp('getSection', getSection_fn, 'usnatv1')

Response

See U.S. National Privacy Section for more information on each field in the section.

{
  "Gpc": false,
  "GpcSegmentType": 1,
  "KnownChildSensitiveDataConsents": [
    0,
    0
  ],
  "MspaCoveredTransactions": 2,
  "MspaOptOutOptionMode": 0,
  "MspaServiceProviderMode": 0,
  "PersonalDataConsents": 0,
  "SaleOptOut": 2,
  "SaleOptOutNotice": 1,
  "SensitiveDataLimitUseNotice": 0,
  "SensitiveDataProcessing": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "SensitiveDataProcessingOptOutNotice": 0,
  "SharingNotice": 1,
  "SharingOptOut": 2,
  "SharingOptOutNotice": 1,
  "TargetedAdvertisingOptOut": 2,
  "TargetedAdvertisingOptOutNotice": 1,
  "Version": 1
}