I've added this tag within DTM as a "Javascript / Third Party Tags" on one of our pages, but I do not know how to go about populating a random number for the rand URL parameter. Would I create a custom script data element to generate a random number?
That's the way I'd go about it. Create a data element with a custom script in it to feed it the random number. You can then call this data element in your code.
That's the way I'd go about it. Create a data element with a custom script in it to feed it the random number. You can then call this data element in your code.