Pixel / App Event
Question: What kind of
pixels does FB have?
Ans:
WCA Pixel, Conversion
Pixel, Facebook Pixel
Question: What are the
differences between our
pixels?
•
WCA Pixel
•
•
build audiences
Conversion Pixel
•
track conversions
•
optimize for conversions
upgrade
•
Facebook Pixel
•
track conversions
•
optimize for conversions
•
build audiences
WCA PIXEL
<script>(function() {
var _fbq = window._fbq || (window._fbq = []);
if (!_fbq.loaded) {
var fbds = document.createElement('script');
fbds.async = true;
fbds.src = '//connect.facebook.net/en_US/fbds.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(fbds, s);
_fbq.loaded = true;
}
_fbq.push(['addPixelId', '<PIXEL_ID>']);
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', 'PixelInitialized', {}]);
</script>
<noscript>
![]()
src=" /></noscript>
CONVERSION PIXEL
<script>(function() {
var _fbq = window._fbq || (window._fbq = []);
if (!_fbq.loaded) {
var fbds = document.createElement('script');
fbds.async = true;
fbds.src = '//connect.facebook.net/en_US/fbds.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(fbds, s);
_fbq.loaded = true;
}
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', '<CONVERSION_PIXEL_ID>', {'value':'0.00','currency':'USD'}]);
</script>
<noscript>
![]()
src=" />/></noscript>
Facebook Pixel
FACEBOOK PIXEL
<!-- Facebook Pixel Code -->
<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','//connect.facebook.net/en_US/fbevents.js');
fbq('init', '<PIXEL_ID>');
fbq('track', 'PageView');
</script>
<noscript>
![]()
src=" />/></noscript>
<!-- End Facebook Pixel Code -->
FACEBOOK PIXEL
Benefits?
•
Only One Pixel Code
•
Pixel Dashboard
•
Share Pixel
FACEBOOK PIXEL
fbq('track', 'PageView');
•
Default event: PageView
•
9 standard events - track conversions + optimize for conversions
Website action
Key page view
Search
Add to cart
Add to wishlist
Initiate checkout
Add payment info
Make purchase
Lead
Complete registration
Standard event code
fbq('track', 'ViewContent');
fbq('track', 'Search');
fbq('track', 'AddToCart');
fbq('track', 'AddToWishlist');
fbq('track', 'InitiateCheckout');
fbq('track', 'AddPaymentInfo');
fbq('track', 'Purchase', {value: '0.00', currency: 'USD'});
fbq('track', 'Lead');
fbq('track', 'CompleteRegistration');
FACEBOOK PIXEL
•
track conversions - ads level
•
optimize for conversions - Website Conversions objective or adset level
or
FACEBOOK PIXEL
•
Facebook Pixel Helper
•
Plugin in Chrome
•
Download from Chrome Store
•
Demo
FACEBOOK PIXEL
•
Facebook Pixel Dashboard ("Pixels" in "Tools" in Ads Manager / Power Editor)
1. Time frame
2. Toolbar
3. Traffic data
4. Pixel details
5. Custom Audiences
6. Data filters
FACEBOOK PIXEL
•
Best Practice
•
Pass us Value and Currency parameters at Purchase event
•
Pass us necessary parameters for other events
e.g. fbq('track', 'ViewContent', {'key1': 'value1'});
•
To create custom audience
•
For Dynamic Product Ads (content_ids, content_type)
•
Replace WCA / Conversion Pixel with Facebook Pixel
•
Conversion Pixel will be depreciated by H2 2016
What is the other channel that you
can tell FB about your users?
App Event
APP EVENT
•
Why?
•
Capture traffic on your mobile App
•
Build mobile Audience
- Create mobile app custom audience and Lookalike audience
APP EVENT
•
How?
•
Integrate Facebook Mobile SDK
•
Support Android, iOS
•
Does not require Facebook Login
•
Fire app events with parameters similar to standard events in Facebook pixel
APP EVET
•
Our Mobile SDK supports several standard events
•
e.g. Activated App, Search, ViewContent, AddToCart, Purchase, etc
Bundle parameters = new Bundle();
parameters.putString(AppEventsConstants.EVENT_PARAM_CURRENCY, "HKD");
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_TYPE, "product");
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_ID, "[\"ID-1\",\"ID-2\"]");
logger.logEvent(
AppEventsConstants.EVENT_NAME_PURCHASED,
210.00,
parameters
);
•
Detail:
•
iOS - />
•
Android - />
APP EVENT
/>
APPENDIX
•
Help Page: />
•
Pixel Helper: />
•
App Event for iOS: />
•
App Event for Android: />
•
Facebook Pixel Sample: />