To enable site tracking for Magento Community Edition, edit this file:
Within this section:
<block type="page/html_head" name="head" as="head">, add these lines:
<action method="addJs"><script>activecampaign_track.js</script></action> <action method="addItem"><type>js</type><name>activecampaign_track.js</name></action>
Add the actual file to your server where Magento is installed. Put it in the “js” folder:
In ActiveCampaign you can set up a segment for various URL’s on your Magento site in order to see who visited them:
All that’s left is to send campaigns that contain links to your Magento store and site tracking should be up and running for you!