Articles on: The Geeky Bit

How can I automatically push tags into CANDDi via the tracker

Many CMS platforms support automatic (or user generated) page tagging. With a little Javascript trickery, these tags can be automatically pushed into CANDDi, and on to Contact profiles.

The following script block needs to be pasted into 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 (must match regex /[0-9a-zA-Z_]+/)

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

Have more questions? Contact us at hello@canddi.com or 0161 414 1080

Updated on: 06/02/2020

Was this article helpful?

Share your feedback

Cancel

Thank you!