WooCommerce
IMPORTANT!
- Iframe tracking and Big Bear attribution work together to offer the best attribution coverage possible so they both need to work in accordance with they’re specific documentation.
- As affiliates are paid only for the sales they generate, make sure this attribution codes work as long as the affiliate program is active in 2Performant.
Here you can find specific information that can help you install 2Performant attribution codes if you have an online shop on WordPress with WooCommerce.
The attribution codes are necessary to record the conversions coming from the traffic sent by the affiliates and represent an essential point in the operation of the affiliate program.
The attribution codes that must be implemented and maintained by an advertiser are of 2 types:
- Big Bear attribution / full 1st party tracking
- iframe tracking / 1st party – 3rd party tracking
Big Bear attribution
The attribution codes required for the Big Bear involve 2 different scripts:
- script that must be installed in the footer of all pages
- script to be installed on the thank you page / order confirmation page for fast and normal orders, for orders placed with or without an account and for all payment and shipping methods
In the case of Big Bear attribution, the script details are only available if you log in to your advertiser account and go to the Big Bear section: https://network.2performant.com/advertiser/attribution/big_bear_attribution
From there, you can download personalized PDF documentation for installing Big Bear attribution on your site.
iframe tracking
Iframe tracking code must be placed on the thank you page / order confirmation page for fast and normal orders, for orders placed with or without an account and for all payment and shipping methods.
For script details you will need to log in to your account and go to the iframe section: https://network.2performant.com/advertiser/attribution/iframe_tracking
In regards to iframe tracking, if you are using WordPress with WooCommerce as an e-commerce platform, then you have two options.
A. Use a simple plugin
You can use the plugin for WordPress from here and then add your unique identifiers inside the plugin:
CAMPAIGN_UNIQUE: you received it by e-mail
CONFIRM: you received it by e-mail
Replace the following placeholders with the program and order values:
CAMPAIGN_UNIQUE: you received it by e-mail
CONFIRM: you received it by e-mail
ADD_SALE_VALUE: total value of the sale. The amount reported must not include VAT (TAXES) if the company is paying VAT nor the shipping charges (shipping costs) nor other discounts and vouchers. Consider: The decimal separator must be the dot. Thousands must not be delimited. Commas must not be used. Only 2 decimals must be sent. Currency must not be included.
ADD_DESCRIPTION: the name of all the products that have been purchased, URL-encoded. (This will help affiliates optimize future sales )
ADD_TRANSACTION_ID: the order id, in your platform, URL-encoded. (This will help identify and process the commissions later)
<iframe height='1' width='1' scrolling='no' marginheight='0' marginwidth='0' frameborder='0' src='https://event.2performant.com/events/salecheck?amount=ADD_SALE_VALUE&campaign_unique=CAMPAIGN_UNIQUE&confirm=CONFIRM&description=ADD_DESCRIPTION&transaction_id=ADD_TRANSACTION_ID'></iframe>
For an order of:
Items value: 121.54EUR
Discount: 12.15EUR
VAT: 21.88EUR
Shipping: 15EUR
The order id in your platform: UY981237Y
Items description: “dress & necklace, shoes”
And supposing you received the following program parameters:
CAMPAIGN_UNIQUE=test_unique
CONFIRM=test_confirm
<iframe height='1' width='1' scrolling='no' marginheight='0' marginwidth='0' frameborder='0' src='https://event.2performant.com/events/salecheck?amount=121.54&campaign_unique=test_unique&confirm=test_confirm&description=dress+%26+necklace%2C+shoes&transaction_id=UY981237Y'></iframe>