Why can't I connect Pinterest to my Shopify account?

Just butting in here. I cleared my cache and now my store is no longer connected to Pinterest and Google Analytics. I can’t figure out what to do about it. My Pinterest business page now looks like it’s brand new, no pins, no photo, nothing. Analytics is not receiving data. Global site tag is installed. It was all working before I cleared my cache. Is there a simple explanation?