EstudosLivres / PageRenter

App de Aluguel de Perfils
1 stars 0 forks source link

What conversion scripts exists & how they work? #36

Closed TonGarcia closed 9 years ago

TonGarcia commented 9 years ago

Post here: 1- URL for it Documentation; 2- Code example of usage; 3- how does it work? If possible upload an UML image describing it.

TonGarcia commented 9 years ago

Google AdSense conversion tracking:

Conversion tracking involves placing a cookie on a user's computer when he or she clicks or views an ad. Then, if the user clicks your ad and reaches one of your conversion pages, the user's browser sends the cookie to a Google server, and a small conversion tracking image is displayed on your site. When such a match is made, Google records a successful conversion for you.

This information is presented within the "Campaigns," "Conversions," or "Reports" sections in your DoubleClick Ad Exchange account.

Conversions are only tracked for customers that are able to download images and that have cookies enabled for their web browsers. Although this is the default setting for most browsers, users who don't accept the conversion tracking cookies won't be included in your conversion statistics.

TonGarcia commented 9 years ago

Facebook Ads conversion tracking:

  1. Create the pixel
    • name & category (Checkouts, Registration, Leads, Key Page Views, Adds to Cart, Other WebSite conversions)
  2. Add the pixel to your website
    • add to the & verify it status
  3. Using the pixel for ad optimization
    • While selecting the type of result, select instead app installs, page likes, click for website...
  4. Measure conversions
    • columns shown: Cost per Conversion & Results

facebook code:

<!-- Facebook Conversion Code for Testing -->
<script>
(function(){
   var _fbq = window._fbq || (window._fbq = {})
   if(!_fbq.loaded) {
     var fbds.async = true;
     fbds.src = '//connect.facebook.net/en_US/fbds.js';
     var s = document.getElementByTagName('script')[0];
     s.parentNode.insertBefore(fbds, s);
     _fbq.loaded = true;
}
})();

window._fbq = window._fbq || {};
window._fbq.push({'track', '60xxxxxx', {value:'0.00', currency:'USD'}});
</script>

<noscript>
  <img height="1" width="1" alt="" style="display:none" 
src="https://www.facebook.com/tr?ev=60xxxxxxx &amp;cd[valuye]=0&amp;cd[currency]=USD&amp;noscript=1" 
/>
</noscript>