Ledger Nano X - The secure hardware wallet
SHARE
TWEET

sourcebuster — fb purchase

snegir Feb 22nd, 2018 230 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3.  
  4.  
  5. if ({{current_utm_source}} == 'facebook' && {{current_utm_medium}} == 'cpc') {
  6.     fbq('track', 'purchase-direct');
  7. } else {
  8.     fbq('track', 'purchase-assisted');
  9. }
  10.  
  11.  
  12.  
  13. if ({{current_utm_source}} == 'facebook' && {{current_utm_medium}} == 'cpc') {
  14.  
  15.   fbq('track', 'purchase', {
  16.     'typeConversion' : 'assisted'
  17.   });
  18.  
  19. } else {
  20.    
  21.   fbq('track', 'purchase', {
  22.       'typeConversion' : 'direct'
  23.   });
  24.  
  25. }  
  26.  
  27.  
  28.  
  29.  
  30. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top