First, install the tracking code following the standard instructions on your website.

To track specific pages or popups that do not generate a new URL you can use the following piece of code:

Login example

<script>
if(window.leadinfo) {
window.leadinfo('setCustomUrl', '/login');
window.leadinfo("trackPageView");
}
</script>

Add to cart example

<script>
if(window.leadinfo) {
window.leadinfo('setCustomUrl', '/add-to-cart');
window.leadinfo("trackPageView");
}
</script>

Attach this piece of Javascript to the button or event in the source code of your website to track specific pages or popups.

Did this answer your question?