Follow

How is random number inserted in HTML code?

Sometimes it is desired to insert a random number into the markup code, to prevent browsers to cache the creative.

Example:

<img src="http://ad.se.doubleclick.net/ad/www.customer.com/home;ord=INSERT_RANDOM_NUMBER_HERE">

Answer:

Simply insert _U_ where you want the random number to be inserted. It should be rewritten to:

<img src="http://ad.se.doubleclick.net/ad/www.customer.com/home;ord=_U_">

The system will insert the random number on the fly when delivering the creative. The random number is number of seconds since 1970.

Have more questions? Submit a request

Comments

Powered by Zendesk