**For Advanced users** Please note that the Smoobu customer service agents are not trained on Google Tags or Analytics, therefore may not be the best resource for troubleshooting issues.
If you use both Smoobu Website Builder and Booking System:
The best way to implement your tracking code is:
- Add the main pixel on the Website Builder custom Javascript - Route: Settings - Website builder - Custom JavaScript
- Add the custom sale event on the Online Marketing Conversion Tag field. Route: Settings - Booking System - Booking System Settings
Here's an example of the main Facebook Pixel, for this case:
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', 'YOUR_FB_PIXEL_ID_HERE');
fbq('track', 'YOUR_CUSTOM_FB_EVENT_HERE');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=YOUR_FB_PIXEL_ID_HERE&ev=YOUR_CUSTOM_FB_EVENT_HERE&noscript=1"
/></noscript>
- Add the custom sale event on the Online Marketing Conversion Tag field. Route: Settings - Booking System - Booking System Settings
Here's an example of the Facebook Pixel, for this case:
<script>fbq('track', 'YOUR_CUSTOM_FB_EVENT_HERE');</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=YOUR_FB_PIXEL_ID_HERE&ev=YOUR_CUSTOM_FB_EVENT_HERE&noscript=1"
/></noscript>
Note: Currently we don’t support custom transaction value in the Online Marketing Conversion Tag.
Comments
0 comments
Please sign in to leave a comment.