This video shows how you can Facebook events on button clicks for EXTERNAL PAGES (ONLY!) - This may apply to you if you are using Clickfunnels or Wordpress or any other landing page platform and you want to add Facebook events to button clicks on these pages.
Note! This is an advanced technique that requires some programming skills. This is NOT required to set up any events inside of Shopify or any of the 3rd-party apps that Trackify already has a full integration with!
The video shows two coding steps for Clickfunnels.
Step 1: Header Code
HEADER CODE for CLICKFUNNELS:
Get this directly from Trackify Code Generator (see video)
Step 2: Footer Code (Attention! Assembly Required - see video!!!)
<!-- FOOTER CODE FOR CLICKFUNNELS -->
<script>
function appendurl(url) {
var script = document.createElement('script');
script.setAttribute('type', 'text/javascript');
script.setAttribute('src', url);
document.head.appendChild(script);
}
$(function () {
$('[href="#submit-form-2step"]').on("click", function () {
var source = "INSERT URL FROM TRACKIFY CODE GENERATOR HERE (see video)";
appendurl(source);
});
});
</script>