Skip to content

Set Priority Creative Ids

The setPriorityCreativeIds function is used to set the priority creative IDs on the tag. It accepts an array of creative IDs and caches them in localStorage for future use.

window.htag.api('1').setPriorityCreativeIds([ID1, ID2]);