• Resolved michalc

    (@michalc)


    According to the documentation the code should be added without the <script> tags.

    But what if i have script like this:

    <script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
    <script>
      var retargetingConf = {
        rtgId: 54081
      };
      if (window.rc && window.rc.retargetingHit) {
        window.rc.retargetingHit(retargetingConf);
      }
    </script>

    how to write the first line of code?

    <script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
    

    Thanks!

    • This topic was modified 1 year, 8 months ago by michalc.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @michalc,

    In that case I would opt for the following:

    <script type="text/plain" data-category="marketing" src="https://c.seznam.cz/js/rc.js"></script>
    <script type="text/plain" data-category="marketing">
      var retargetingConf = {
        rtgId: 54081
      };
      if (window.rc && window.rc.retargetingHit) {
        window.rc.retargetingHit(retargetingConf);
      }
    </script>

    Adding it outside of Complianz. regards Aert

    • This reply was modified 1 year, 8 months ago by Aert Hulsebos. Reason: getting used to the new editor
    • This reply was modified 1 year, 8 months ago by Aert Hulsebos.
Viewing 1 replies (of 1 total)
  • The topic ‘Third party scripts’ is closed to new replies.