Our goal is making set-up process as easy as possible.
The only technical part here is adding Reflective Data tracking snippet in the
<footer> of every page of your website and conversion code on the success page.
Forms should have HTML ID attributes
If there is a chance that the number of forms or the order of the forms changes, it is recommended that your
<form> tags have an
id attribute in place.
This makes it easier for the tool to detect specific forms.
id, you might also use an attribute
data-rd-form, which works the same way.
Same tracking code for all featuresIf you have Reflective Data tracking snippet already added to your website once then you are good to go.
Do not add it more than once!
In case you haven’t already done so, add our tracking code to your website.
var s = document.createElement(d);s.src='//app.reflectivedata.com/cdn/tracker.js',r.getElementsByTagName(f)[a].appendChild(s);t.rd_account_id='xxxxxxxx';
}(document, 'script', 'head', 0, window);
Don’t forget to change rd_account_id to your actual account ID!
To track conversions, please also add Reflective Data conversion code to the success page of your form.
In most cases, it would be the page where your visitors land after successfully submitting the form.
window._rd_queue = window._rd_queue || ;
The same snippet shown above works perfectly fine with dynamic forms, too. Just load the function after a successful conversion.