intégration shopify affilae
Article

C2S – Shopify

Notes: ⚠️⚠️⚠️

  • The URL format of your program must be set as a parameter.
  • Module version: 1.6
  • Before moving on to the tracking step, you must contact the support team so they can perform parallel checks of your tracking setup.
  • This pixel also manages differentiation between new and returning customers: use the templatePixelOldNew in version 1.6.

Tracking partner clicks and conversions

intégration shopify affilae

Where to install the code?

On all pages of your Shopify site.

<script type="text/javascript">
var _ae = {
"pid":"65d616dbe2d9cb8e94b6753e",
};
(function() {
var element = document.createElement('script'); element.type = 'text/javascript'; element.async = true;
element.src = '//static.affilae.staging1.kaizen-developments.com/ae-v3.5.js';
var scr = document.getElementsByTagName('script')[0]; scr.parentNode.insertBefore(element, scr);
})();
</script>

Steps

  • Go to your Shopify admin.
  • Menu: Online Store
  • Click: Themes
  • Click: Actions ➜ Edit code
  • Select: theme.liquid
  • Add the code inside the <body> tag.

Access Shopify pixels:

  • Shopify admin ➜ Settings
  • Click customer Events
  • Click add custom pixel

Pixel configuration:

  • Give your pixel a name (e.g., « Affilae Tracking« )
  • Upload the Affilae module v1.6
  • Delete the default text
  • Paste the Affilae pixel code

Where can I find the Program ID and KEY? Affilae Admin ➜ Configuration ➜ Tracking ➜ Integrations with an Affilae module.

Finalization

Validation checklist

Before installation:

  • URL format configured in Affilae: as a parameter
  • Affilae Support contacted for validation and referer opening for tests
  • PROGRAM_ID and conversion key retrieved
  • Module v1.6 downloaded

Help

Tracking not working?

  • Check that both codes are correctly installed.
  • Make sure the variables are properly replaced.
  • Test with a real order.
  • Contact Affilae support with details of your configuration.

Issue with new/returning customers?

  • Verify that your store uses Checkout Extensibility.
  • Final migration deadline: 25/08/2025.

Besoin d’aide ?

Restez informés des dernières tendances en affiliation marketing et ne manquez aucun de nos articles.

Contactez-nous