Install Form Analytics Tracking

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.

Instead of id, you might also use an attribute data-rd-form, which works the same way.

General tracking

Same tracking code for all features

If 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.

<script>
!function(r,d,f,a,t){
 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);
</script>

Don’t forget to change rd_account_id to your actual account ID!

Conversion tracking

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 || [];
window._rd_queue.push(['form_conversion']);
Dynamic forms

The same snippet shown above works perfectly fine with dynamic forms, too. Just load the function after a successful conversion.

Sign up for Reflective Data

5,000 sessions / month ×

Please enter your email

Submit

After submitting your email, we will send you the registration form.