<!-- Event snippet for Dodanie do koszyka -ręczna moja conversion page
In your html page, add the snippet and call gtag_report_conversion when someone clicks on the chosen link or button. -->
<script>
function gtag_report_conversion(url) {
var callback = function () {
if (typeof(url) != 'undefined') {
window.location = url;
}
};
gtag('event', 'conversion', {
'send_to': 'AW-9xxx',
'value': 1.0,
'currency': 'PLN',
'transaction_id': '',
'event_callback': callback
});
return false;
}
</script>
Ja dostałem od google taki fragment, gdy chce śledzić zakup/dodanie do koszyka wklejam go w order-confirmation, tak ?
Dostałem też taką linijkę., w które miejsce dokładnie ją wkleiliście? gtag('config', 'AW-xxx');