Magento Marketing

How to Add Affiliate Tracking Code to Magento 2

Among different types of affiliate programs, Pay Per Sale (PPS) and Pay Per Lead (PPL) are the most commonly used. In the PPS program, the tracking code is placed on the checkout success page to confirm that the purchase was successful, while the PPL program tracks account registrations.

Affiliate programs rely on JS tags, also known as pixels, to track conversions. However, adding them to a Magento 2 website can cause some difficulties for people who are not tech-savvy. This tutorial provides a general understanding and a detailed guide on how to add a Magento 2 affiliate tracking code to the checkout page for the Pay Per Sale program.

Magento Backend Development, Programming

How to Configure Xdebug for Magento 2 Application via PHPStorm or VSCode

Xdebug is a powerful PHP extension designed specifically to help developers in debugging. It has a wide range of features that streamline the error-finding process and offer valuable insights. Installing this application can sometimes be tricky, so we prepared a step-by-step tutorial on configuring Xdebug for Magento 2 application via PHPStorm or VSCode.