Retargeting code
To start using both Retargeting and Dynamic Retargeting, you need to place a retargeting code on your website. This is a short html code that must be placed on every page of your website where you want to record visitors for ad targeting. If you want to cover the whole site, place the code in a section that is common to the whole site such as the footer of the page, or use Google Tag Manager (you can use H1.cz’s tutorial for working with Google Tag Manager, in Czech only).
Example of the RTG code
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
<script>
var retargetingConf = {
rtgId: 123456 /* retargeting identifier */
};
// Make sure the method exists before calling it
if (window.rc && window.rc.retargetingHit) {
window.rc.retargetingHit(retargetingConf);
}
</script>
If you are an eshop and want to get all the benefits of Dynamic retargeting, use the advanced retargeting code to offer specific products or categories of your eshop.
Where do I find the retargeting code in the Sklik interface?
If you want to add information about the user’s consent to targeted advertising, use advanced dynamic retargeting options or if you are an e-shop and you use Zboží.cz, we recommend using the advanced retargeting code, where you insert the necessary parameters and their corresponding values (or let them be dynamically inserted).
- Click on Tools in the menu
- Select Retargeting (see image below)

- Click on View retargeting code

- Copy the entire retargeting code and place it on all the pages of the website from which you want to “collect” users. Or you can send the retargeting code to your webmaster who will take care of the implementation.

Original code form (until November 2021):
<script type="text/javascript">
var list_retargetingId = 123456;
var list_category = "cyklisticka kola";
var list_itemId = 123;
var list_pagetype = "offerdetail";
var window.list_rtgUrl = "https://example.com?hello=world";
var rc = rc || {};
rc.consent = CCC; // CCC = 0 or 1
</script>
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js" async></script>
Sklik also supports the original form of retargeting code including the optional parameter for the advertiser to provide information about the user’s consent to the tracking. However, we recommend switching to the new code.