cs_set_instance_id instance_id
Sets the instance ID to be recorded for the page currently being served.
Source code:
global ad_conn set ad_conn(cs_instance_id) $instance_id