Google ads snippet newsletter instead of checkout

aeron
New Member
2 0 0

Hi everyone,

I got a snippet from google looking like this:

<script>
function gtag_report_conversion(url) {
var callback = function () {
if (typeof(url) != 'undefined') {
window.location = url;
}
};
gtag('event', 'conversion', {
'send_to': 'XXXXXXXXXX',
'event_callback': callback
});
return false;
}
</script>

I want to use signing up for newsletter as a conversion, but I have no clue where I should paste this piece of code. Any help is appreciated! (using debut theme)

Aeron

0 Likes