Introduction
The HasOffers integration allows all click and goal data to be sent to TrafficGuard for analysis. Invalid conversions will automatically be set to rejected in the HasOffers portal.
Prerequisites
You need to be a HasOffers customer
You need to be a TrafficGuard network customer. If you would like to change your account type get in touch with your account manager or email: [email protected]
TrafficGuard portal
Account settings
From your account settings page copy your identifier and measurement API key. These will be required when creating your Network postback URL in the Hasoffers portal.
Add advertiser properties
You will need to create new advertiser properties for each advertiser you have setup in HasOffers
From the left hand navigate to 'Properties' and click the 'ADD ADVERTISER' button
Name your advertiser and enter the HasOffers advertiser ID as the TrafficGuard Advertiser Identifier
Select 'HasOffers' as the input
Enter your HasOffers network ID, which can be found in your HasOffers Account > Network details
Save the form and repeat for all advertisers
HasOffers portal
Tracking settings
In the HasOffers portal navigate to, Company > Customize Application > Tracking and update the following settings.
Global click macro
Enabling this will redirect all clicks from HasOffers to TrafficGuard where they will be analysed and sent to the Offer URL if they are deemed to be valid.
Click Macro URL
Update the Click Macro URL to the following, replacing {organisation_id} with your TrafficGuard organisation ID
HTTP
https://click.trafficguard.ai?organisation_id={organisation_id}&advertiser_identifier={advertiser_id}&campaign_id={offer_id}_{offer_name}&session_id={transaction_id}&source_id={affiliate_name}&site_id={source}&sub_param_1={aff_sub}&sub_param_2={aff_sub2}&sub_param_3={aff_sub3}&sub_param_4={aff_sub4}&sub_param_5={aff_sub5}&destination_url={eredirect}
Network postback
Enabling this will send postbacks for all conversions and goals to TrafficGuard for analysis. These will have their status updated in near real-time via the HasOffers API if they are deemed to be invalid.
Network postback URL
Update the network postback URL to, replacing {organisation_id} and {api_key} with values copied from your TrafficGuard account settings
HTTP
https://api.trafficguard.ai/api/v1/validate/event?organisation_id={organisation_id}&api_key={api_key}&property_id={offer_name}&ip_address={ip}&event_name=goal&event_param={goal_ref}&session_id={transaction_id}&user_agent={user_agent}&event_time={timestamp}&source_id={affiliate_name}
Track user agent on click
Enabling this will allow HasOffers to send user-agent information to TrafficGuard.
Application Settings
In the HasOffers portal navigate to, Company > Customize Application > Application and update the following settings.
Offer settings
Conversion Tracking
In all of your offers' settings set Conversion Tracking to Server Postback w/ Transaction ID.
Click macro
In all of your offers' settings enable Click Macro.
Manage your goals
If your offer has multiple goals map their goal Reference IDs to TrafficGuard event names:
open, registration, purchase, level, tutorial, addtocart, checkout, invite, achievement, pageview, share, search, login, viewcontent