This has a random number plus a timestamp

ga_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: ga_mp_event_item(), ga_mp_event(), ga_mp_send()