For originating ad source attribution, follow these Dynamic Number Insertion (DNI) instructions on your property websites.
If you have previously implemented DNI code on your website, then you will need to change the script source URL to use the updated code.
The interface call has one required parameter - siteId. The site identifier can be found in the spreadsheet provided by the LeaseHawk Customer Service team.
In some cases, it is desirable to take action when a resource takes a long time to load. For sites that have strict performance requirements, this can be a serious concern. The LeaseHawk DNI API allows specification of a timeout in milliseconds. If the timeout is exceeded, then an error will be raised and the user provided error method will be called. Here is an example of what a request with the timeout:
To activate the code on your website page, you will need to include the LHAdSourceId in the link from your ad source (Google, Rent.com, etc.) to your website. The identifier associated with each ad source will be provided to you by the LeaseHawk implementation team in an Excel Spreadsheet. So, based on the spreadsheet, you would need to change the ad source link like this:
http://my.company.com/website.html?LHAdSourceId=<ad source Id>
Or, if you are using another tracking service (like Google) then you would need to change the ad source link like this:
http://my.company.com/website.html?utm_source=MyAdSource&utm_medium=referral&utm_campaign=MyCampaign&LHAdSourceId=<ad source Id>