Difference between revisions of "Affiliate Custom Pixels"

From Offerit
Jump to: navigation, search
(Adding Pixels in Offerit)
(Conversion Variables)
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
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.
+
{{Offerit Manual
 +
| show_for_affiliates_section = true
 +
}}
 +
 
 +
'''''Note: Pixels are not what affiliates use to promote offers.  If you are looking to start promoting your network's offers, see [[Affiliate Linkcodes]].'''''<br>
 +
 
 +
As an affiliate in an Offerit network, you can set up custom pixels for third-parties when a conversion occurs. This means parties other than the original Network can be notified when a conversion happensCustom pixels can be useful if you are promoting offers from Offerit in another network, because the other network also needs to be notified with details of a conversion. In addition, an affiliate who is part of several networks can use custom pixels to send all conversion information to one place, rather than having to log into multiple networks to view stats.
  
 
==Conversion Tracking Types==
 
==Conversion Tracking Types==
Line 7: Line 13:
 
*'''Postback'''
 
*'''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.
+
When a Network admin creates an Offer, a conversion type must be chosen to let the network know how to expect the conversion to be communicated to the network.  The type of custom conversion tracking that an affiliate can use depends on the conversion method previously set up by the Network admin:
 +
 
 +
If an offer has a conversion type of Iframe, affiliates can use any type of custom conversion tracking: Iframe, Image Pixel or (Server) Postback.<br>
 +
If the offer's conversion type is Image Pixel or Postback, only the Postback method can be used for custom conversion tracking. 
 +
Offerit automatically filters out the unallowed conversion types for affiliates.
  
 
==Conversion Code Examples==
 
==Conversion Code Examples==
Line 20: Line 30:
 
  <conversion url>
 
  <conversion url>
  
''For the above examples, you will need to replace <conversion url> with the url to which you want conversion information sent.''
+
See [[Affiliate_Custom_Pixels#Building_your_Conversion_URL| Building your Conversion URL]] for information on creating your <conversion url>.
  
==Default Replacement Variables==
+
==Building your Conversion URL==
When configuring the urls for your custom pixels, you can add predefined variables that will be available.
+
The <conversion url> consists of 3 major parts:
 +
<nowiki>http://<conversion_domain>/<conversion_path>?<conversion_variables></nowiki>
  
*aff_id - Your affiliate ID.
+
*'''<conversion_domain>''' - The domain of where you would like the conversion details sent.
*offer_id - The ID of the offer.
+
*'''<conversion_path>''' - The conversion script or file for the pixel. For example, Offerit uses ''signup/process_pixel.php''.
*aff_campaign - The campaign used.
+
*'''<conversion_variables>''' - Predefined variables that are available to send with your post. See below.
*aff_approved - Whether you have been approved for the payouts for the conversion's offer.
 
*transid - The transaction ID of the conversion.
 
*commission - The commission related to the conversion.
 
  
==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,
 
  
  <nowiki>http://<tracking_domain>/track/<your_affiliate_code>?<custom_var1>=<custom_var1_value></nowiki>
+
===Conversion Variables===
 +
When configuring the conversion urls for your custom pixels, you can add predefined variables that will be available.
 +
 
 +
*'''aff_id''' - Your affiliate ID.
 +
*'''oid''' - The ID of the offer.
 +
*'''aff_campaign''' - The campaign used.
 +
*'''aff_approved''' - Your auto-pending status. ''(If set to 1, conversions you referred must be approved before you receive a commission.  If 0, your conversions are automatically approved.)''
 +
*'''transaction_hash''' - The transaction ID of the conversion.
 +
*'''commission''' - The commission related to the conversion.
 +
*'''For the full list of available predefined variables, please reference our [[Replacement_Variables#Affiliate_Custom_Pixel_Replacement_Variables|Replacement Variables]] article'''
 +
 
 +
These are added to your conversion code as:
 +
<nowiki><your variable name>=%%aff_id%%</nowiki>
 +
Multiple variables are joined with an ''&''.
 +
If you wanted to capture all of these variables, here is an example you can use to build your conversion url:
 +
  <nowiki>http://<conversion_domain>/<conversion_path>?aff_id=%%aff_id%%&oid=%%offer_id%%&aff_campaign=%%aff_campaign%%&aff_approved=%%aff_approved%%&transid=%%transaction_hash%%&commission=%%commission%%</nowiki>
 +
 
 +
===Custom Conversion Variables===
 +
In addition to the variables already given to you by Offerit, you may want to add your own variables.  When you set up your tracking links, you can add your own custom variables that will be available for your custom pixels. 
 +
 
 +
For example, this is your '''tracking link''':
 +
 
 +
<nowiki>http://</nowiki><[[Tracking Domain|tracking_domain]]>/track/<[[offeritcode]]>?<custom_var_name>=<custom_var_value>
  
 
Continuing with the example, if you set up your tracking link like:
 
Continuing with the example, if you set up your tracking link like:
  
  <nowiki>http://example.com/track/MS4xLjEuMS4wLjAuMC4wLjAuMC4wLjA?custom_var=12345</nowiki>
+
  <nowiki>http://example.com/track/MS4xLjEuMS4wLjAuMC4wLjAuMC4wLjA?custom_var_name=12345</nowiki>
  
You can capture the passthrough variable data in your conversion pixel by formatting your conversion pixel url like the following:
+
You can capture the variable data in your conversion pixel by formatting your '''conversion url''' like the following:
  
  <nowiki>http://<conversion_url>?custom_var=%%custom_var%%</nowiki>
+
  <nowiki>http://<conversion_domain>/<conversion_path>?custom_var_name=%%custom_var_name%%</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_name%% would be replaced with 12345 (what it was set to in the tracking link) and saved into a variable called custom_var_name.
  
 
== Adding Pixels in Offerit ==
 
== 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.
+
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.
  
 
[[File:CustomOfferPixels.png|800px]]
 
[[File:CustomOfferPixels.png|800px]]
  
 +
To add a pixel, simply select the Offer you would like, what type of pixel you would like, and the code for the pixel.  Click "Save" to save your pixel.  You can then edit your pixel again with the pencil icon, or delete it with the trash icon.  You can make multiple pixels for each offer.
  
 +
<!--
 
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.
 
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.
  
 
[[File:CampaignCustomTracking.png|800px]]
 
[[File:CampaignCustomTracking.png|800px]]
 +
 +
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.
 +
-->

Latest revision as of 12:08, 16 May 2018

Offerit
For Affiliates
Automatic SubIDs
Affiliate Stats Dumps
Linkcode
Link Groups
Affiliate Custom Pixels
Affiliate Host and Post
Offerit Affiliate Area
Affiliate Account Details
Affiliate Account Change Log
Affiliate Creatives
Affiliate Creatives Search
Affiliate Settings
Affiliate Custom Pixels
Affiliate Linkcodes
Affiliate Linkcode Settings
Affiliate Login History
Affiliate Messages
Affiliate Dashboard
Dashboard Key Statistics
Dashboard Statistics Summary
Affiliate Payment History
Quick Links
Affiliate Referrals Report
Affiliate Referring URL Report
Affiliate Remote Login
Affiliate Signup
Affiliate Statistic Filters
Affiliate Statistic Views
Affiliate SubIDs
Offerit Setup
Creating Admin Accounts
Tracking Domain
Edit Affiliate Text
Edit CSS Colors
Getting Started Admin
Offerit Quick-Start Guide
Tracking in Offerit
Pixel Builder
Offerit Postback Examples
Replacement Variables
Currency Exchange Rates

Admin Dashboard
The Admin Dashboard
Reporting Admin
The Reporting Admin
Track and Strack
  Report Breakdowns
Profit and Loss Report
Subscription Report
Transactions Reports
Affiliate Ratios Report
Affiliate Managers Report
Visitor Actions Report
Referral Tier Payouts Report
Referral Signup Payouts Report
Additional Commissions Report
Graphical Affiliate Comparison Report
The Single Day Comparison Report
Actual Affiliate Payments Report
Offers Admin
The Offers Admin
Offers
Offer Setup
Affiliate Referrals
Tracking Domain
Commissions
Commission Changes
Suppression Lists
Pixel Builder
ID Numbers
Offer Partner
Offer/Landing Page Redirection
Setting Rules
Admin Host and Post
Offer Post URLs
Offer Goals
Affiliates Admin
The Affiliates Admin
ID Numbers
Affiliate Managers
Affiliate Referrals
Affiliate Activation
Admin-Only Settings
Affiliate Overrides
Creating Admin Accounts
In-House Accounts
Add Manual Sale
Manual Invoice
Affiliate Documents
Affiliate Enabled Offers
Change Affiliate Status
Account Changes
Advertisers Admin
The Advertisers Admin
Account Changes
Advertiser Invoices
Generate Invoice
Advertiser Approval
Change Advertiser Status
Customers Admin
Customers Admin
Manually Adding a Customer
ID Numbers
Payments Admin
The Payments Admin
Payvia Types
Payout Periods
Payvia Dump Formats
Payment Dump Entry Numbers
Payment Dump Variables
Check Functions
Setting Rules
Payment Methods
Payza
Creatives Admin
The Creatives Admin
Add New Creatives
Add New Creative Type
Offeritcode
Code Builder
Track and Strack
Setting Rules
  Default Creative Types
Creative Types
Image Banners
Flash Banners
Dynamic Text Banners
Feeds
Mailers
Video Download
Video Embed
Page Peels
IM Popups
Footer Ads
Page Ads
Overlays
Communications Admin
The Communications Admin
Add News Item
Sending Messages
Signup Questions
Configuration Admin
The Configuration Admin
Affiliate Signup Postback URL
Edit Affiliate Text
Edit CSS Colors
REST API
General
Offerit REST API Overview
GET /service/ping
PATCH /service/set_currency_exchange_rates
Advertiser
PATCH /advertiser/edit_advertiser
POST /advertiser/add_advertiser
Affiliate
GET /affiliate/get_links
GET /affiliate/get_single_link
GET /affiliate/search
GET /affiliate/decode_trackingcode
PATCH /affiliate/edit_affiliate
PATCH /affiliate/payvia
POST /affiliate/add_affiliate
POST /affiliate/affiliate_login_ips
Config
GET /config/get_global_void_ips
GET /config/get_global_post_ips
GET /config/get_global_hostnpost_ips
POST /config/add_global_void_ip
POST /config/remove_global_void_ip
POST /config/add_global_post_ip
POST /config/remove_global_post_ip
POST /config/add_global_hostnpost_ip
POST /config/remove_global_hostnpost_ip
Creative
GET /creative/get_creatives
GET /creative/get_creative_fields
GET /creative/get_creative_rules
PATCH /creative/delete_creative
PATCH /creative/edit_creative
PATCH /creative/edit_creative_rules
PATCH /creative/undelete_creative
POST /creative/add_creative
POST /creative/add_creative_rule
POST /creative/delete_creative_rules
Customer
PATCH /customer/set_customer_details
PATCH /customer/lock
PATCH /customer/unlock
PATCH /customer/forget
GET /customer/export
Offer
GET /offer/get_conversion_caps
GET /offer/check_orderid_exists
GET /offer/get_commission_changes
GET /offer/get_details
PATCH /offer/activate_offer
PATCH /offer/edit_landing_page
PATCH /offer/edit_offer
PATCH /offer/pause_offer
PATCH /offer/set_commission_change_payouts
PATCH /offer/set_enabled_affiliates
PATCH /offer/set_offer_categories
PATCH /offer/set_offer_countries
PATCH /offer/set_offer_goals
PATCH /offer/set_offer_groups
PATCH /offer/set_offer_marketing_types
PATCH /offer/store_offer_ips
POST /offer/add_commission_change
POST /offer/add_landing_page
POST /offer/add_offer
POST /offer/add_tracking_domain
Reporting
GET /report/profitloss
GET /report/transaction
Transaction
GET /transaction/transaction_payout_preview
PATCH /transaction/transaction_update_revenue_by_orderid
PATCH /transaction/transaction_update_revenue_by_transaction_hash
POST /transaction/process_void
POST /transaction/process_chargeback
POST /transaction/process_reversal
POST /transaction/approve_pending_transaction
GET /transaction/click_detail
SOAP API (*deprecated*)
API
Add Affiliate
Add Affiliate Sale
Add Offer
Approve Transaction
Creative Types
Decode Offeritcode
Deny Transaction
Disable Affiliate Landing Page
Edit Affiliate Sale
Enable Affiliate Landing Page
Get Affiliate Stats
Get Allowed Affiliates
Get Landing Page Details
Get Offer Details
Get Offer List
Get Profit Loss Report
List Affiliate Details
List Affiliate Subaffiliates
Ping
Set Affiliate Status
Set SubAffiliate Status
Set Member Details
Record Affiliate Click
Misc.
Rules
Freeform Date
Affiliate Custom Signup
Offeritcode
Tracking in Offerit
Offerit Logos
Void Conversions Remotely

Note: Pixels are not what affiliates use to promote offers. If you are looking to start promoting your network's offers, see Affiliate Linkcodes.

As an affiliate in an Offerit network, you can set up custom pixels for third-parties when a conversion occurs. This means parties other than the original Network can be notified when a conversion happens. Custom pixels can be useful if you are promoting offers from Offerit in another network, because the other network also needs to be notified with details of a conversion. In addition, an affiliate who is part of several networks can use custom pixels to send all conversion information to one place, rather than having to log into multiple networks to view stats.

Conversion Tracking Types

There are three different types of custom conversion tracking that affiliates can use:

  • Iframe Pixel
  • Image Pixel
  • Postback

When a Network admin creates an Offer, a conversion type must be chosen to let the network know how to expect the conversion to be communicated to the network. The type of custom conversion tracking that an affiliate can use depends on the conversion method previously set up by the Network admin:

If an offer has a conversion type of Iframe, 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, only the Postback method can be used for custom conversion tracking. Offerit automatically filters out the unallowed conversion types for affiliates.

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>

See Building your Conversion URL for information on creating your <conversion url>.

Building your Conversion URL

The <conversion url> consists of 3 major parts:

http://<conversion_domain>/<conversion_path>?<conversion_variables>
  • <conversion_domain> - The domain of where you would like the conversion details sent.
  • <conversion_path> - The conversion script or file for the pixel. For example, Offerit uses signup/process_pixel.php.
  • <conversion_variables> - Predefined variables that are available to send with your post. See below.


Conversion Variables

When configuring the conversion urls for your custom pixels, you can add predefined variables that will be available.

  • aff_id - Your affiliate ID.
  • oid - The ID of the offer.
  • aff_campaign - The campaign used.
  • aff_approved - Your auto-pending status. (If set to 1, conversions you referred must be approved before you receive a commission. If 0, your conversions are automatically approved.)
  • transaction_hash - The transaction ID of the conversion.
  • commission - The commission related to the conversion.
  • For the full list of available predefined variables, please reference our Replacement Variables article

These are added to your conversion code as:

<your variable name>=%%aff_id%%

Multiple variables are joined with an &. If you wanted to capture all of these variables, here is an example you can use to build your conversion url:

http://<conversion_domain>/<conversion_path>?aff_id=%%aff_id%%&oid=%%offer_id%%&aff_campaign=%%aff_campaign%%&aff_approved=%%aff_approved%%&transid=%%transaction_hash%%&commission=%%commission%%

Custom Conversion Variables

In addition to the variables already given to you by Offerit, you may want to add your own variables. When you set up your tracking links, you can add your own custom variables that will be available for your custom pixels.

For example, this is your tracking link:

http://<tracking_domain>/track/<offeritcode>?<custom_var_name>=<custom_var_value>

Continuing with the example, if you set up your tracking link like:

http://example.com/track/MS4xLjEuMS4wLjAuMC4wLjAuMC4wLjA?custom_var_name=12345

You can capture the variable data in your conversion pixel by formatting your conversion url like the following:

http://<conversion_domain>/<conversion_path>?custom_var_name=%%custom_var_name%%

When the conversion occurs, %%custom_var_name%% would be replaced with 12345 (what it was set to in the tracking link) and saved into a variable called custom_var_name.

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.

CustomOfferPixels.png

To add a pixel, simply select the Offer you would like, what type of pixel you would like, and the code for the pixel. Click "Save" to save your pixel. You can then edit your pixel again with the pencil icon, or delete it with the trash icon. You can make multiple pixels for each offer.