What is the purpose of a t-code?

Mathias Freudendahl Updated by Mathias Freudendahl

A t-code is an essential part of each tracking pixel. It tells us something about where each individual tracking pixel is executed.

Each tracking pixel generated by AudienceReport will include and automatically generated t-code.

Remember that a tracking pixel is nothing but a little piece of html-code containing a transparent image (1 x 1 pixel dimension) that can be inserted in any banner, blog, e-mail or webpage that supports html. Like this:

http://visitanalytics.userreport.com/hit.gif

Whenever the website, blog, e-mail or banner containing the tracking pixel is loaded in a web-browser, the tracking pixel will be requested from the server where it is hosted and each request will be written into a log-file.

By analyzing the log file, we can count how many times the tracking pixel has been requested. However, if both website A and B are using the same tracking pixel like this: visitanalytics.userreport.com/hit.gif ...

...we can't really tell if the request originates from website A or website B.

By adding a “t=” parameter to the request like this:

http://visitanalytics.userreport.com/hit.gif?t=A

OR

http://visitanalytics.userreport.com/hit.gif?t=B

...we can see if the impression should be counted towards website A or website B, when measuring the number of requests in the log-files. In these examples, “A” and “B” are t-codes. 

In other words; the t-codes are responsible for allocating the right impressions to the right campaign / client.

If you want to learn more about what a tracking pixel is or how to use them in AudienceReport Next you can look at what is a tracking pixel.

How did we do?

What is a tracking pixel?

Contact