Out of the box, ActiveCampaign's site tracking doesn't work with ConvertFlow until configured with some custom code.
We have a code snippet for configuring ActiveCampaign site tracking with ConvertFlow's javascript API, to identify ConvertFlow contacts in ActiveCampaign upon submitting a ConvertFlow form.
<script type="text/javascript">
jQuery(document).on('cfSubmit', function() {
if (convertflow.person && convertflow.person.email) {
(function(e,t,o,n,p,r,i){e.visitorGlobalObjectAlias=n;e[e.visitorGlobalObjectAlias]=e[e.visitorGlobalObjectAlias]||function(){(e[e.visitorGlobalObjectAlias].q=e[e.visitorGlobalObjectAlias].q||[]).push(arguments)};e[e.visitorGlobalObjectAlias].l=(new Date).getTime();r=t.createElement("script");r.src=o;r.async=true;i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)})(window,document,"https://prism.app-us1.com/prism.js","vgo");
vgo('setAccount', 'ACTIVECAMPAIGN_ACCOUNT_ID');
vgo('setTrackByDefault', true);
vgo('setEmail', convertflow.person.email);
vgo('process');
};
});
</script>
Important: Note that you'll need to replace ACTIVECAMPAIGN_ACCOUNT_ID
with your ActiveCampaign account's ID, which is visible in their tracking code snippet in your ActiveCampaign dashboard:
โ