Hi all!
I’m working with a client to install Google Analytics event tracking on their site.
They would like to track every time a Register button is clicked on their site (directs to a third party booking system) and have provided me with this code:
`
function gtag_report_conversion(url) {
var callback = function () {
if (typeof(url) != 'undefined') {
window.location = url;
}
};
gtag('event', 'conversion', {
'send_to': 'AW-1006008591/5vYKCOHAnFcQj_LZ3wM',
'value': 250.0,
'currency': 'CAD',
'event_callback': callback
});
return false;
}
</script>`
But unsure what to do with this. Looking through the previous forum entires it looks like things get pretty complicated and not seeing anything (that I’ve been able to find) directly related to a script similar to the one above. Any help would be much appreciated!
Here is my public share link: https://preview.webflow.com/preview/camp-laurus?utm_medium=preview_link&utm_source=designer&utm_content=camp-laurus&preview=3d1124d59848b7c085248826dd9cd7d3&mode=preview
