window.Shopify.customerPrivacy.userCanBeTracked() in the checkout not working

From the Customer Privacy API I am trying to call the function window.Shopify.customerPrivacy.userCanBeTracked() in the checkout pages but it returns undefined. Is there a way to implement it?

4 Likes