update click tracking and enqueue scripts