Contact your carrier and get a bolt on for International Roaming...These are a fixed charge so that you will not have a horrific bill on your return.....The Cook Islands? Sound great.
Data roaming is turned off by default, but double check to make sure. If you don't need to make or receive calls or texts, I would turn on airplane mode and then enable wi-fi.