Hi,
Does anyone know how setup call conversion tracking?
I understand you are meant to add your TAG code to your website - but with event tracking you are meant to add addtional tracking code:
<script>
window.uetq = window.uetq || [];
window.uetq.push
({ 'ec':'Event category', 'ea':'Event action', 'el':'Event label', 'ev':'Event value' });
</script>
Am I meant to replace custom call data to each of the following code:
1. 'Event category'
2. 'Event action'
3. 'Event label'
4. 'Event value'
Thanks in advance.
Right now what you have is the basic event tracking template.
The following value all need to be replaced with your custom values
1. 'Event category'
2. 'Event action'
3. 'Event label'
4. 'Event value'
Note that is numerical
Also since you are trying to log conversions for a call you are going to probably hook up that code with some extra js event handlers (e.g firing the UET event js when the link to initiate the call is clicked).
Sample code below with some made up values. it uses jquery so you'd have to add that to your page too
<script>$(document).ready(function() {
$('#CallButton').one('click', function() {
window.uetq = window.uetq || [];
window.uetq.push
({ 'ec':'Auto Insurance Call', 'ea':'Call', 'el':'Lp green', 'ev':15.32 });
});
}); </script>
An easy thing to do as well is to simply make a conversion goal to see who's reaching what page.
Once they opt in they're re-directed to our full lander. We simply set a URL destination goal and that's how we've been tracking who's opting in from what kw's. Much, much easier.