Click Tracker - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.9
Category
Reference Guide

Click Tracker Coordinates.

The Click Tracker web service acts as an intermediary that logs a message and redirects to a target URL. It is called with (at least) a pair of request parameters {afs:label, afs:target}, where:

  • afs:label denotes the message to be logged
  • afs:target denotes the destination URL, where the browser is redirected to once the message has been logged.

When processing a request it logs the message (afs:label) describing what has been clicked for instance, then ultimately redirects the browser to the target URL (afs:target).

Parameter Name


Card.


Type


Default


Description

enabled

Optional

Boolean

true

Click is enabled by default. Set to false to disable it.

To disable click tracking, proceed as follows:

<div class="AFSWidget" title="Configuration">
<script type="application/json">
{
"afsDefaults": {
"afs:service": 1234,
"afs:status": "alpha"
},
"click": {
"enabled": false
}
}
</script>
</div>