Requirements:
Clicks must be tracking to the Maropost Affiliate ID
Conversion must fire to Maropost Revshare Affiliate ID (4045) and back to the Internal Media Buyer/Affiliate that generated the sale. Payout amount should be at 50% of the CPA set on the offer.
Steps:
Create a Revshare Conversion Tag for Affid 4045 - DFO - Maropost - Revshare
<!--Affid Remarketing - Maropost RS ID - 4045 - ORANGE--> <script type="text/javascript" src="https://{{domain2}}/scripts/sdk/everflow.js"></script> <script type="text/javascript"> EF.conversion({ offer_id: {{S4}}, adv1: {{CRM Order Id}}, coupon_code: '4045RS{{S4}}', parameters: { "payout_amount": {{REPLACE_WITH_50%_of_CPA}}, } }); </script> <--! Parameter Guide--> {domain2} // Tracking domain where conversion will be registered ** Must not match tracking domain in domain1 or EF tracking link {S4} // Offer ID from URL {CRM Order ID} // Order ID from CRM
Create a Revshare Conversion Tag for Affid X - Internal Media Buyers and Affiliates
<!--Affid Original - Affiliate or Media Buyer ID - ORANGE--> <script type="text/javascript" src="https://{{domain2}}/scripts/sdk/everflow.js"></script> <script type="text/javascript"> EF.conversion({ offer_id: {{S4}}, adv1: {{CRM Order Id}}, coupon_code: '{{S2}}RS{{S4}}', parameters: { "payout_amount": {{REPLACE_WITH_50%_of_CPA}}, } }); </script> <--! Parameter Guide--> {domain2} // Tracking domain where conversion will be registered ** Must not match tracking domain in domain1 or EF tracking link {S2} // Affiliate ID Original {S4} // Offer ID from URL {CRM Order ID} // Order ID from CRM
Create Revshare Trigger Logic
Page URL contains ERS=Y // Required in order to prevent pixelmator script from firing Page URL contains Widget=Y // Required in order to ensure lead came from widget S2 does not match RegEx (ignore case) 1474/1728 // Prevents revshare on DFO owned leads Page URL matches RegEx (ignore case) Affid=1474|Affid=1728 // Indicator that DL is from Maropost ID
Create Variables in GTM
{domain2} - second tracking domain required for attributing conversions to Affid Original + Affid RM Revshare
{s2} - the parameter where Affid Original will be passed
{s4} - the parameter that contains the offer ID
{CRM Order ID} - variable to record the OrderID on these sales, in order to avoid duplicate sale issues.
{{REPLACE_WITH_50%_of_CPA}} - create a new variable named ‘Revshare CPA - Offer X'