To set up ShareASale Google Tag Manager integration, you will need to:
ShareASale is one of the largest affiliate marketing networks, which connects merchants with affiliate partners. Merchants list their products or services on the platform, while affiliates promote them and earn a commission for every sale or lead they generate. The platform is used across e-commerce, SaaS, and service-based businesses.
ShareASale tracks affiliate-driven conversions using a tracking pixel – a small snippet of code placed on the merchant's confirmation or thank-you page. When a customer completes a purchase or submits a lead form, the pixel fires and sends conversion data (transaction ID, sale amount, merchant ID, and commission details) back to ShareASale.
Alongside the pixel, ShareASale uses a click ID parameter (sscid) appended to affiliate links. This parameter is stored in a cookie on the user's browser and later matched to the conversion when the pixel fires.
However, this type of tracking can be unreliable because of ad blockers, Safari's ITP, and iOS privacy restrictions, which can prevent the pixel from firing. It means that real conversions can go unrecorded, affiliates won’t get credited, and reporting inside ShareASale analytics can become incomplete.
ShareASale tag is a solution developed by Stape that allows the server-side tracking for the ShareASale platform to be set up. With its help, you can configure pageview and conversion event tracking in server GTM and send all event data directly to a ShareASale tracking server, rather than processing it on the client side.
Tracking on the server side with the help of ShareAsale tag provides numerous benefits compared to ShareASale tracking pixel.
| Check the complete list of server-side tracking benefits in our article. |
To set up a ShareASale tag, you will need to:
1. Add the ShareASale tag from the server GTM gallery.

2. Create a new tag and choose "ShareASale" as tag type.

3. Configure the tag. Choose the event type you would like to track:
sscid} URL parameter inside the __sscid cookie.With the PageView event type, you can also choose "URL parameter name" from the variables; by default, it will be "sscid".

4. If you have chosen "Conversion" as event type, you will need to fill in the following fields:

6. Add a trigger for a tag.
7. Test the setup. To do it, use both the web and server GTM preview mode. If you face any difficulties, see the detailed guide on debugging and monitoring.
Setting up ShareASale tag for the server GTM container provides many perks, including accurate data tracking and high control over the data. With the help of tag, you track pageviews and conversion events. The configuration process is straightforward and shouldn’t take much time to start benefiting from server-side tracking!
Comments