Looper Posted September 11 Share Posted September 11 I added Facebook Pixel code using a hook, and it's working just fine. However, I want to set up an event to capture sales, such as when someone makes a purchase. How can I track that in WHMCS? I used this hook to add the pixel: 0 Quote Link to comment Share on other sites More sharing options...
sahostking Posted November 11 Share Posted November 11 Well for starters you can do the following in your templates complete.tpl file Under: {if $ispaid} <!-- Enter any HTML code which should be displayed when a user has completed checkout here --> <!-- Common uses of this include conversion and affiliate tracking scripts --> Add something like below: {literal} <script> fbq('track', 'Purchase', {currency: "AED", value: 1.00}); </script> {/literal} I think the above could work. 0 Quote Link to comment Share on other sites More sharing options...
fridmanterry Posted November 11 Share Posted November 11 On 9/11/2024 at 4:30 PM, Looper said: I added Facebook Pixel code using a hook, and it's working just fine. However, I want to set up an event to capture sales, such as when someone makes a purchase. How can I track that in WHMCS? I used this hook to add the pixel: I am facing the same problem, have you found any working solution yet? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.