AutoTrack

This feature allows you to automatically make all of the links in you HTML Template trackable. Set the “AutoTrack” parameter to “true” when you submit a Bulk or Transactional job and all of the “<a href>” and “<map href>” tags will be made trackable using the “Gears.track()” template command (or Gears.trackingTool.getTrackableLink() if you are using Velocity).

For example, if you submit the HTML template below:

<html>
Click <a href='http://www.mycompany.com'>here</a> to go to our home page.
</html>

Would be converted to:

<html>
Click <a href='${Gears.track("http://www.mycompany.com")}'>here</a> to go to our home page.
</html>

If a “name” attribute is present inside the a/anchor tag, it will be used as the second parameter in the Gears.track() function which will provide a label for the link in your activity data.

<html>
Click <a name='Home Page' href='http://www.mycompany.com'>here</a> to go to our home page.
</html>

Would be converted to:

<html>
Click <a name='Home Page' href='${Gears.track("http://www.mycompany.com", "Home Page")}'>here</a> to go to our home page.
</html>