1
Answers
Vote up!
0
Vote down!

Integrating affiliate tracking pixel with drupalcommerce

( I was sent here from drupal.org, thanks)

I need to set up a tracking pixel for my affiliate program so when someone orders, the tracking software will pass back the info to me. This would be for the drupalcommerce module

Here are the generic instructions for placing the pixel, but I'm not sure how to implement and where or which module to implement this

>>Section 1: Generic Tracking Pixel
The most common method for integration is to use a tracking pixel in the sale confirmation / online invoice page of the
cart system. Doing this would require the iDevAffiliate user to login to their admin center and enable the “Generic
Tracking Pixel” method. This module will provide them with a tracking pixel that looks similar to this.
Only local images are allowed.
When placing this pixel into the sale confirmation / online invoice page, simply alter the following items.
‐ XXX needs replaced with the actual variable that contains the sub/total amount.
‐ YYY needs replaced with the actual variable that contains the order number.
Two examples in one: idev_saleamt=<?PHP echo $_POST[‘sub_total’]; ?>&idev_ordernum={$order_number}
Note: The actual variable names and structure will more than likely be different in your system.
Final output in a browser should look something like this: idev_saleamt=99.99&idev_ordernum=test

Any help would be greatly appreciated, thanks.

Asked by: HKT
on August 2, 2012

Comments

joshmiller: Could you offer specifics on how to configure this?

HKT: Have you been able to integrate iDevAffiliate? If so, how did you do it?

- ailgm on October 11, 2012

1 Answer