HUD and recirculation tracking

Recirculation modules may be worth tracking as well, you can track some modules of your site (rendering, focus…), its links and its related navigation.

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

you can add the data-mrf-recirculation attribute to a module containing a link

	<div data-mrf-recirculation="module-name">
		<!-- ... -->
		<a href="link">...</a>
		<!-- ... -->
	</div>

or, without modifying the page templating, use the SDK

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

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'
			}
		]);
	}]);