Before continuing with this article, you should understand the fundamentals of server postback tracking. Below, we’ll focus on Server postback tracking with Partner ID. If you're looking for information on setting up postback tracking with Transaction IDs, see this article instead.
💡 If you're looking to implement recurring subscription tracking, please see this article instead.
Step 1: Configure your Link Tracking Offer
You'll first need to create a Link Tracking offer in the Commerce section of Aspire to obtain the postback URL snippet.
Directions:
In Aspire, go to Commerce > Offers and click + Create Offer.
In the Offer Setup step, select Non-Discount Offer for a link-only offer (or Discount Offer if creators will also share promo codes). Enter an Offer Name and an optional Description, then click Next.
In the Configure step, under Tracking Link, set the Tracking Method to Server Postback w/ Partner ID and choose a Conversion Type.
In Offer URL Tracking, enter the landing page where you want to send traffic. If you leave it blank, it defaults to your Shopify store URL.
Aspire automatically adds ?affiliate_id={affiliate_id} to your Offer URL. You can see it in the field to the right of Offer URL Tracking.
The URL will need to include the variable{affiliate_id}and your store’s parameter for affiliate ID. The query parameter name is going to depend on your implementation. Please confirm what the query parameter will be with the engineer implementing this.
Basically, we need a way to pass this variable to your store - usually, this is done as a URL query parameter. For example, your offer URL could look like this:https://yourstore.com?affiliate_id={affiliate_id}
Click Next to continue to Automation, where you can set commissions and rewards (optional), then Review your settings and click Create Offer.
Step 2: Store the Session Identifier
Your store will need to be able to accept the affiliate_id as a query parameter.
Whenever a customer clicks on an affiliate’s link, we will redirect to the Offer URL and replace {affiliate_id} with the member’s unique affiliate_id.
For the example above, it would look something like https://yourstore.com?affiliate_id=123456
Your store will need to handle recording the affiliate_id and storing it for that potential customer. Because it depends on your software, this is the most varied step in the process. The most common way is to store the affiliate ID as a variable in your e-commerce site.
Step 3: Return ID upon Conversion
When the customer converts, your store will need to make a GET HTTP request to the postback URL and include the affiliate_id for that session, the Offer ID, the conversion amount, and the Order ID.
For example, if the postback URL is
The final URL will end up looking something like this:
To find the postback URL for your offer, go to Commerce > Offers and open the offer. Click the info icon next to the offer name, then click View Setup Instructions.
💡 Important: You will need to edit AFFILIATE_ID, AMOUNT, and ORDER_ID to match the variables you are using on your website to store these values.
Once the postback is implemented, we highly recommend placing a test order to confirm whether all the macros and parameters are placed successfully in the right position. See this article on how to test your postback.




