HUD and recirculation modules tracking

Recirculation modules may be worth tracking, because it’s possible to track modules of your site (like rendering, focus, and more), its links, and its related navigation.

Track impressions, viewability, and clicks - not only in recirculation, but it can also be used to track internal recirculation sources across the Marfeel platform.

In order to track the recirculation modules, there are two options:

  1. Add the data-mrf-recirculation attribute to a module containing a link. It can be applied on any kind of HTML tag (<div> , <section> , <aside> , <ol> …) and even on the link <a> itself
	<div data-mrf-recirculation="module-name">
		<!-- ... -->
		<a href="link">...</a>
		<!-- ... -->
	</div>
  1. Use the SDK without modifying the page templating
	window.marfeel.cmd.push(['compass', function(compass) {
		compass.setRecirculationModules([
			{ selector: '.module1', name: 'module1' },
			{ selector: '.module2', name: 'module2' },
		]);
	}]);
  1. Using utm_cmp_rs param in the destination URL.
    This method allows tracking recirculation sources in cross-domain traffic and in amp-next-page.
    It will be applied only as a recirculation source, but not tracked in the recirculation panel.
    For example https://destinationdomain.com/destination_url?utm_cmp_rs=amp-next-page

For Hubspot in order to track the redirection URL, it must be configured via API:

	window.marfeel.cmd.push(['compass', function(compass) {
		compass.setRecirculationModules([
			{
				selector: '.module1',
				name: 'module1',
				urlAttribute: 'cta_dest_link'
			}
		]);
	}]);