TCF v2.0 Onsite Pixel adjustment

Get your Adtriba Pixel ready for TCF v2.0.

János Moldvay avatar
Written by János Moldvay
Updated over a week ago

We are happy to be now part of the IAB global vendor list for operational TCF v2.0. By being part of the TCF v2.0 initiative clients can use our impression-pixel for publishers who only accept vendors which are certified for TCF v2.0. If your organization is working with a CMP who only accepts pixel from TCF v2.0 certificated vendors - we got you covered as well:

To fully match the requirements for the CMPs and TCF v2.0 you need to add another pixel to your website. This pixel snippet makes sure that only data is passed and accepted to Adtriba if the consent of a user was given through your CMP.

Thus please exchange your current adtriba.js pixel with the following pixel snippet on all pages of your site. Any other pixel you may integrated already (e.g. conversion snippet, extended ecommerce snippet, aso.) can remain exactly the same.

<script type="text/javascript">
var id = "adtriba-cmp-js";
var init = document.getElementById(id);

if (!init) {
var a = document.createElement("script");
var s = document.getElementsByTagName("script")[0];
a.setAttribute("data-project-tracker-id", "YOUR_PROJECT_TRACKER_ID");
a.type = "text/javascript";
a.async = true; = id;
a.src = "";
s.parentNode.insertBefore(a, s);

window.adtriba = window.adtriba || [];

Enjoy working with us? Please consider leaving a review.

Did this answer your question?