How can I automatically push tags into CANDDi via the tracker

Follow

Summary:

Many CMS platforms support automatic (or user generated) tagging of pages

With a little Javascript trickery these tags can be automatically pushed into CANDDi (and on to Contact's profiles)

 

How to:

The following script block needs to be pasted in to the body of your web-page

This needs to be positioned above the script to load the CANDDi tracker

The TagsAdd key has an array of tags to be added 

The (optional) TagsRemove key has an array of any tags to be removed from this page

 

NOTE: Each Tag must contain ONLY characters, numbers and underscores (ie match regex /[0-9a-zA-Z_]+/)

 

<script type="text/javascript">
window.canSet = {
  Settings : {
   TagsAdd : ["Tag1", "Tag2"],
   TagsRemove : ["tag3", "tag4"]
  }
 };
</script>

Have more questions? Submit a request

Comments