Data collection

Do I have to add code linking the person’s ID to the dataset on that page seeing the data set is on a members only page which is not the dynamic page?