What is the Sales Pixel?
The sales pixel serves as an alternative to the Sales API in the Email Marketing service. All information about the API is included within the 'EMAIL MARKETING' section by clicking on the username, under the 'Settings' of the account → 'API INFO'.
Getting Started
To implement the sales pixel, you need to request its activation through the MDirector Support service in the corresponding sub-account, indicating the empID.
The empID is the identifier for your sub-account and can be found in the 'SUBACCOUNTS' tab within 'My MDirector Account'.
To make it work, you must integrate the sales pixel into your website on the sales pages. To track links in a communication and monitor sales through those links, it is necessary to activate each link as a sales pixel within the 'Step 3. Design' of creating a campaign, under the 'Links' tab.
Placing the Sales Pixel
The contacts receiving the shipment use transition links. This means that the contact passes through our servers, and a cookie is placed on them before being redirected to the authentic URL of the sales link.
For the cookie's purpose to be fulfilled, it is essential to insert an HTML img or iframe element with a link in the following structure into the destination page:
src="http://track.mdrctr.com/track/sale?empId=EMP_ID&PRODUCTO=NOMBRE_ID_PRODUCTO&CANTIDAD=CANT_PRODUCTOS&IMPORTE=IMP_PRODUCTO" height="1" width="1">
| Parameter | Meaning |
| http://track.mdrctr.com/track/sale? | The pixel's domain must match the tracking domain of the sub-account. |
| empID* | A unique digit identifying the company in MDirector that sent the campaign. |
| PRODUCTO | String identifying the product to be purchased. |
| CANTIDAD | Number of products being purchased. |
|
IMPORTE |
Total amount of the purchase. |
* The only mandatory parameter is empID.
Sales Statistics
In the campaign report, we can view all activity related to our links under the 'SALES' tab:
At the bottom of the section, a table will display the contacts who completed the purchase, the purchased item, the amount, quantity, and purchase date:
Comments