Mass. Gen. Laws ch. 10, § 24
(vi) require the commission to implement promotional activities to encourage the purchase of lottery tickets, games or shares through licensed sales agents; provided, however, that promotional activities and all advertising shall not:
(viii) require that the lottery shall supply the department of public health with customer tracking data collected or generated by the online lottery anonymized to remove from the data:
(a) personally identifying information, including a player's name, street address, bank or credit information and the last 4 digits of a player's zip code, in compliance with section 2 of chapter 93H; and (b) game identifying information, including game name and device manufacturing company, in protection of corporate intellectual property; provided, however, that the data shall retain information on player characteristics including, but not limited to, gender, age and region of residence and player behavior including, but not limited to, frequency of play, length of play, speed of play, denomination of play, amounts wagered and, if applicable, characteristics of games; provided further, that the department shall convey the anonymized data to a research facility that shall make the data available to qualified researchers for the purposes of: