woocommerce/pinterest-for-woocommerce

Error in logs when tracking is disabled.

Closed this issue · 0 comments

During onboarding, the merchant can opt out from tracking. If that happens, we can't sync settings for AEMS because it requires tracking id which is not present in the onboarding flow with disabled tracking.

The code was still trying to synchronise the settings but it was failing with and Error log. This should not happen. There should not be an attempt to sync AEMS settings.