Select Page
Callbacks Documentation
Edit on
Codepen.io

data-decorate-callback

A JavaScript function you may provide, which will be invoked before redirecting to checkout for the purpose of obtaining Google Analytics linker “decorations”. This function must accept a URL (string) as a parameter and return the decorated URL as a string. You must use this function If you are using Google Analytics for tracking to avoid gaps in tracking your users.