Simple logic added that reads UTM query parameters during page load, if they exist – they are saved into cookies.
Afterwards, when a user registration happens, those params are read and saved into database.
This simple approach will help attribute user registrations and consequently user purchases and later evaluate advertisement effectiveness.