Shopify Api: Shopify Campaign Url Not returned on Check Out

Emannuel
New Member
1 0 0

I am building a Shopify marketing Application  which was connected to shopify store through the shopify private app built on the store.

It is meant to creates campaign and refer users to buy products on shopify through a referral link.

Example https://mystore.myshopify.com/product/myproduct?parameter=mycampaignid

Now, the problem is that shopify don't seem to return the campaign id on the checkout page because it is not seen as one of the data returned during checkout.

So, the question is how do I make i this return the campaign id and the order details as object back to my application for tracking. I have a check out script already on the additional script in check out settings which do return the transactions details but the campaign ID is not returned with it.

the preferred format should be like this;

shopify_sample1.PNG

0 Likes