Click ID Placeholder

When you are using our JS tag with Auto-Tagging activated, you can make use of our Click ID placeholder in case you want to be in full control where exactly our click IDs should be placed.

This can also be helpful if you cloak your affiliate URLs and do not want to set up our Clickout API or use our WordPress plugin. You will then need to place the subid and Click ID placeholder in the redirect URL and forward the parameter and value to the affiliate URL during the redirect process.

Requirements for Click ID Placehoder

How to set up the placeholder

  • Get the wecantrack JS Tag from the connected website
  • Make sure Auto-Tagging was activated (under advanced settings)
  • Add a new line within the JS tag, containing the placeholder (example on the right):
  • β€˜click_id_placeholder’ : β€˜{clickid}’
  • Make sure to add a comma (,) at the end of the previous row
  • You can use any value you want, so you can replace {clickid} with for example SUBID, just make sure you include the placeholder value you choose within the URLs where our JS tag should place the click ID.
					<script type="text/javascript">
  (function(w, c, t, u) {
    w._wct = w._wct || {}; w._wct = u;
    var s = c.createElement(t);
    s.type = 'text/javascript'; s.async = true; s.src = '';
    var r = c.getElementsByTagName(t)[0];
    r.parentNode.insertBefore(s, r);
  }(window, document, 'script', {
    'uid' : 'XxXXxx',
    'auto_tagging' : true,
    'click_id_placeholder' : '{clickid}'

How to use the placeholder