API Only Touchpoints
In some cases, there may be an action on your site that you want to have pass information into LeadsRx, but it isn't a bottom funnel event that you want to make a conversion. Some form completions may fall into this category. In these cases, you may create a touchpoint that uses our API and passes the form data without diluting the impact of your conversions.
Creating API ONLY Touchpoints to Pass Data
- Using the settings icon at the top right of any page, select SETTINGS -> TOUCHPOINTS.
- Select TRACK A NEW TOUCHPOINT.
- Click API ONLY.
- Name the new touchpoint. Add an optional description.
- In most cases, you may ignore the custom weighting section (for Algorithmic Multi-touch Attribution).
- SAVE.
- You may now find the ID number for the touchpoint (campaignID) by checking the list at the bottom of your LeadsRx API information page.
- Also on that LeadsRx API information page, you will find the system defined fields that can be used to pass data. Choose those that are applicable to your situation.
- Please note that the placeholders like "PUT_FIRST_NAME_HERE" need to be replaced by the dynamic variables used on your forms or contained in your website's data layer.
- Remove any variables you will not need.
- This Javascript may be placed on the HTML of your website or through a tag tool such as Google Tag Manager.
- Make sure this Javascipt fires AFTER our Universal Conversion Tracking Pixel.
Sample Javascript Call
<script type=“text/javascript”>
var _lrx_profile = {
“firstName”: “PUT_FIRST_NAME_HERE”,
“lastName”: “PUT_LAST_NAME_HERE”,
“email”: “PUT_EMAIL_HERE”,
“phone”: “PUT_PHONE_NUMBER_HERE”,
“leadValue”: “PUT_MONETARY_VALUE_HERE”,
“orderID”: “PUT_UNIQUE_ORDER_ID_HERE”
};
_lrx_sendEvent(‘touchpoint’, INSERT_TOUCHPOINTID_HERE, null, JSON.stringify(_lrx_profile));
</script>
0 out of 0 found this helpful.