I've recently integrated the Shopify Buy SDK into an Angular frontend app (that was fun).
Now i've got that working, I wish to use the refersion shopify app to track my affilate conversions.
My question is this: How do I pass the refersion id from the custom frontend, through the Buy SDK so that it meets the refersion app at checkout? Assuming this is what I need to do.
I am not sure how refersion shopify app works. I assume that it will add a reff ID on the checkout link.
If so, with the Buy SDK you can create a custom checkout link, a permalink. See https://help.shopify.com/themes/customization/cart/use-permalinks-to-preload-cart
The SDK cart.checkoutUrl will return the link and from there you can pass an additional parameter: &affID=some-id.
Hope this helps.