This topic has 9 replies, 3 voices, and was last updated 8 months, 1 weeks ago ago by Andrew Mitchell
I need to insert a code into the template where to put it? so that every update doesn’t erase it?
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
<script>
var conversionConf = {
id: 100199606,
value: null
};
if (window.rc && window.rc.conversionHit) {
window.rc.conversionHit(conversionConf);
}
</script>
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
<script>
var conversionConf = {
id: 100199606,
value: null
};
if (window.rc && window.rc.conversionHit) {
window.rc.conversionHit(conversionConf);
}
</script>
Dear @coffeedog,
We trust this message finds you well.
We have noted that you are utilizing a child theme for your WordPress site. To proceed with the necessary enhancements, we kindly request that you append the following script to the functions.php file located within your child theme directory:
add_action('wp_head', 'n2t_wp_head');
function n2t_wp_head(){
?>
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
<script>
var conversionConf = {
id: 100199606,
value: null
};
if (window.rc && window.rc.conversionHit) {
window.rc.conversionHit(conversionConf);
}
</script>
<?php
}
Please be advised that the aforementioned scripts will be executed on all pages across your website.
Should you require any further assistance or have any queries, please do not hesitate to reach out to us.
We appreciate your attention to this matter and look forward to your successful implementation of the code.
Warm regards,
The 8Theme Team
Okay, please, I need this code in there.
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
<script>
var retargetingConf = {
rtgId: 1458914
};
if (window.rc && window.rc.retargetingHit) {
window.rc.retargetingHit(retargetingConf);
}
</script>
Dear @coffeedog,
We hope this message finds you well.
We would appreciate it if you could provide us with guidance on the appropriate location for the implementation of the code in question.
Thank you for your assistance.
Best Regards,
The 8Theme Team
Like the code before, I want to put it on the web
Dear @coffeedog,
We kindly request that you append the following script to the functions.php file located within your child theme directory:
add_action('wp_head', 'n2t_wp_head');
function n2t_wp_head(){
?>
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
<script>
var conversionConf = {
id: 100199606,
value: null
};
if (window.rc && window.rc.conversionHit) {
window.rc.conversionHit(conversionConf);
}
</script>
<?php
}
Should you require any further assistance or have any queries, please do not hesitate to reach out to us.
Warm regards,
The 8Theme Team
I think I’ll clean up this code so I can add it too
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
<script>
var retargetingConf = {
rtgId: 1458914
};
if (window.rc && window.rc.retargetingHit) {
window.rc.retargetingHit(retargetingConf);
}
</script>
Hi @coffeedog,
So the full of code should be like this:
add_action('wp_head', 'n2t_wp_head');
function n2t_wp_head(){
?>
<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
<script>
var retargetingConf = {
rtgId: 1458914
};
if (window.rc && window.rc.retargetingHit) {
window.rc.retargetingHit(retargetingConf);
}
</script>
<?php
}
Warm regards,
The 8Theme Team
Dear coffeedog,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘can I put the codes into the website somewhere?’' has been successfully resolved, and the topic is now closed for further responses