add Page Visibility sample add