Difference between revisions of "Affiliate Custom Pixels"
OfferitJames (talk | contribs) (→Custom Replacement Variables) |
OfferitJames (talk | contribs) (→Building your Conversion URL) |
||
Line 33: | Line 33: | ||
If you wanted to capture all of these variables, here is an example conversion url you can use to build your conversion code: | If you wanted to capture all of these variables, here is an example conversion url you can use to build your conversion code: | ||
− | <nowiki>http:// | + | <nowiki>http://<conversion_domain>/<conversion_path>?aff_id=%%aff_id%%&offer_id=%%offer_id%%&aff_campaign=%%aff_campaign%%&aff_approved=%%aff_approved%%&transid=%%transid%%&commission=%%commission%%</nowiki> |
+ | |||
+ | Replacing <conversion_domain> and <conversion_path> with the domain and path you would like the conversion details sent. | ||
===Custom Replacement Variables=== | ===Custom Replacement Variables=== | ||
Line 46: | Line 48: | ||
You can capture the passthrough variable data in your conversion pixel by formatting your conversion pixel url like the following: | You can capture the passthrough variable data in your conversion pixel by formatting your conversion pixel url like the following: | ||
− | <nowiki>http://<conversion_domain>?custom_var=%%custom_var%%</nowiki> | + | <nowiki>http://<conversion_domain>/<conversion_path>?custom_var=%%custom_var%%</nowiki> |
When the conversion occurs, %%custom_var%% would be replaced with 12345 (as it was set in the tracking link). | When the conversion occurs, %%custom_var%% would be replaced with 12345 (as it was set in the tracking link). |
Revision as of 12:27, 4 February 2013
As an affiliate in an Offerit network, you can set up pixels for third-parties when a conversion occurs. This can be useful if you are promoting offers from Offerit in another network and the other network needs to be notified with details of a conversion.
Contents
Conversion Tracking Types
There are three different types of custom conversion tracking that affiliates can use:
- Iframe Pixel
- Image Pixel
- Postback
The type of custom conversion tracking that an affiliate can use depends on the conversion method being used for an Offer. When a Network admin creates an Offer, a conversion type must be chosen to let the network know how to expect the conversion is communicated to the network. If an offer has a conversion type of Iframe, then affiliates can use any type of custom conversion tracking: Iframe, Image Pixel or (Server) Postback. If the offer's conversion type is Image Pixel or Postback, then only the Postback method can be used to notify a third party of the conversion.
Conversion Code Examples
- Iframe Pixel Example:
<iframe src="<conversion url>" height=1 width=1></iframe>
- Image Pixel Example:
<img src="<conversion url>" height=1 width=1 />
- Postback URL Example:
<conversion url>
For the above examples, you will need to replace <conversion url> with the url to which you want conversion information sent.
Building your Conversion URL
When configuring the urls for your custom pixels, you can add predefined variables that will be available.
- aff_id - Your affiliate ID.
- offer_id - The ID of the offer.
- aff_campaign - The campaign used.
- aff_approved - Whether you have been approved for the payouts for the conversion's offer. (If value is 1, affiliate is approved for the offer. If 0, the affiliate is marked as pending.)
- transid - The transaction ID of the conversion.
- commission - The commission related to the conversion.
If you wanted to capture all of these variables, here is an example conversion url you can use to build your conversion code:
http://<conversion_domain>/<conversion_path>?aff_id=%%aff_id%%&offer_id=%%offer_id%%&aff_campaign=%%aff_campaign%%&aff_approved=%%aff_approved%%&transid=%%transid%%&commission=%%commission%%
Replacing <conversion_domain> and <conversion_path> with the domain and path you would like the conversion details sent.
Custom Replacement Variables
When you set up your tracking links, you can add your own custom passthrough variables that will be available for your custom pixels. For example,
http://<tracking_domain>/track/<your_affiliate_code>?<custom_var1>=<custom_var1_value>
Continuing with the example, if you set up your tracking link like:
http://example.com/track/MS4xLjEuMS4wLjAuMC4wLjAuMC4wLjA?custom_var=12345
You can capture the passthrough variable data in your conversion pixel by formatting your conversion pixel url like the following:
http://<conversion_domain>/<conversion_path>?custom_var=%%custom_var%%
When the conversion occurs, %%custom_var%% would be replaced with 12345 (as it was set in the tracking link).
Adding Pixels in Offerit
Custom Offer Pixels will allow you to set a global pixel in Offerit that will run whenever a conversion happens. Visit this page from the My Account tab, and then Custom Offer Pixels. To add a pixel, simply select the Offer you would like, what type of pixel you would like, and the code for the pixel. Note: When adding a pixel for a specific campaign, it will override the global one. This means only the campaign pixel will run. If you set a pixel for all offers and another for a specific offer, both pixels will be sent out.
You can also add pixels to be a part of a certain campaign. You can do this easily by using the campaign wizard. First select one of your network's offers, and then select "Campaigns" tab.