lfanfoni wrote: The survey URL should contain also a parameter for keeping track of propagation of responses, and for this I thought to use the SAVEDID as URL field.
So your questions are:
1.) Generation of individual URLs
2.) Distribution of individual URLs
To 1.) Using the SAVEID alone is possible, but you might add data to the SAVEID or transform the SAVEID to prevent that wrong IDs are used (mistypes/manipulation).
LimeSurvey isn't offering a function to generate GUID (global unique IDs) out of the box. I'm not aware of a plugin for LimeSurvey.
This script will generate a complete GUID (which is not good for an URL), but you could use a smaller part of it and combine it with the SAVEID.
slavik.meltser.info/the-efficient-way-to...pt-with-explanation/
Code:
/**
* Generates a GUID string.
* @returns {String} The generated GUID.
* @example af8a8416-6e18-a307-bd9c-f2c947bbb3aa
* @author Slavik Meltser (slavik@meltser.info).
* @link https://slavik.meltser.info/?p=142
*/
function guid() {
function _p8(s) {
var p = (Math.random().toString(16)+"000000000").substr(2,8);
return s ? "-" + p.substr(0,4) + "-" + p.substr(4,4) : p ;
}
return _p8() + _p8(true) + _p8(true) + _p8();
}