Operative word is "they" since the only entity that might be "tracking" is the dispensary, not MA.
Full text of Question 4 from 2016 begins on Page 14 of this:
https://www.sec.state.ma.us/ele/elepdf/IFV_2016.pdf
So really it's up to the dispensary whether or not they retain your information, but MA isn't doing it. At least, they're not admitting to it and I can't find anything in this text nor in the 2017 amendment to this law that suggests MA knows who bought what from a recreational dispensary.
I'm sure some dispensaries keep personal information and others don't. It doesn't hurt to ask!