This has a random number plus a timestamp

mp_cid(seed = NULL)

Arguments

seed

If you set a seed, then the random number will be the same for each value

See also

Other Measurement Protocol functions: mp_event_item(), mp_event(), mp_send()