facebook pixel user guide - magento...facebook pixel user guide . magento 2.* extension by i6 media...

10
1 Facebook Pixel User Guide Magento 2.* Extension by i6 Media B.V. (former Equity Plugins) Version 22th of August 2016

Upload: others

Post on 01-Jun-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

1

Facebook Pixel User Guide Magento 2.* Extension by i6 Media B.V. (former Equity Plugins)

Version 22th of August 2016

Page 2: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

2

Table of Contents

Introduction ............................................................................................................................................. 3

Requirements .......................................................................................................................................... 4

Installation Instructions ........................................................................................................................... 5

Configuration ........................................................................................................................................... 6

Available Trackers .................................................................................................................................... 7

Debugging ................................................................................................................................................ 8

Analyzing ................................................................................................................................................. 9

Support .................................................................................................................................................. 10

Page 3: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

3

Introduction

If you are Advertising on Facebook, you'd also like to know what your Return On Investments are on your Ad Campaigns. Facebook provides the possibility to implement a Tracking Pixel on the Frontend of your webshop. This Pixel tracks which page your visitor visits, which products he buys, etcetera, etcetera.

This extension adds this Facebook Tracking Pixel to your Magento webshop and tracks all the events that Facebook offers to track. That means that this plugin will place certain trackers on the front end and provides information to your Facebook Business Account. With that information you can use the Conversion Optimizer Tool from the Business Manager, which means Facebook will adjust your Ad Placements automatically to generate more revenue from the same budget. For example, It tracks when a customer adds something to his/her cart, views a CMS page or Product Page, Subscribes as a Customer, Checks Out, and of course when he/she lands on the success page. This extension also works with the Dynamic Product Ads feature from Facebook.

Currently Facebook is replacing it's old Custom Conversion Pixel with a more generic single Facebook Pixel (I know, it's a bit confusing). The Custom Conversion Pixel will completely disappear in the nearby future (See: https://www.facebook.com/help/1686199411616919).

This extension however places the newest Facebook Pixel. Like mentioned above, by using the Facebook Pixel you can use the Conversion Optimizer Tool, but you can also consult detailed information in your Facebook Business Manager so you can, for example, calculate Return On Investments on your Ads and Spent Budgets.

The extension is built conform Facebook API v2.7.

Page 4: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

4

Requirements

This extension works fine with all versions of Magento 2, including Magento 2.1.

You need a Facebook Business Account in order for this extension to work. A Facebook Business Account can be created at: https://facebook.com/business

You can manage your account at: https://business.facebook.com/

After registration you also need to generate a Facebook Pixel in your Facebook Business Manager.

Instructions how to generate a Facebook Pixel can be found here:

https://www.facebook.com/business/help/336923339852238

Page 5: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

5

Installation Instructions

This extension can be installed via the Marketplace or Component Manager in Magento 2.

If that's not available, upload the contents of the .ZIP file to the root of your Magento 2 directory via FTP.

Enable via Shell (bin/magento module:enable i6media_facebookpixel) or via System > Web Setup Wizard > Component Manager .

Page 6: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

6

Configuration

After creating a Facebook Business Account, a Facebook Pixel and installing the extension it's time to enable it in Magento.

First of all copy the Facebook Pixel ID from your Facebook Business Manager, this needs to be inserted in the configuration page of the extension.

Go in your Magento 2 Backend to Stores > Configuration > i6 Media Extensions > Facebook Pixel.

Set Enabled to Yes, paste your Facebook Pixel ID, and Enable/Disable the trackers you like.

You're good to go :)!

Page 7: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

7

Available Trackers

The extension offers all standard trackers that Facebook uses. It places certain trackers automatically on pages on your Frontend, and also provides detailed product information, such as prices, SKU's and categories.

You are able to enable/disable certain trackers in the configuration page of this extension (see screenshots). The extension provides the following trackers:

ViewContent When a key page is viewed such as a product page, e.g. landing on a product detail page. Provides detailed product information (such as Prices, SKU's, Currencies and Categories) for Dynamic Product Ads.

Search When a search is made, e.g. when a product search query is made. The search string is provided to Facebook as well.

AddToCart When a product is added to the shopping cart, e.g. click on add to cart button. Provides detailed product information (such as Prices, SKU's, Currencies and Categories) for Dynamic Product Ads.

AddToWishlist When a product is added to a wishlist, e.g. click on add to wishlist button.

InitiateCheckout When a person enters the checkout flow prior to completing the checkout flow, e.g. click on checkout button.

AddPaymentInfo When a payment information is added in the checkout flow, e.g. click / LP on save billing info button. Works with onepagecheckout.

Purchase When a purchase is made or checkout flow is completed, e.g. landing on thank you/confirmation page. Provides detailed Order information such as Order Value and Cart Items.

Lead When a contact form is completed.

CompleteRegistration When a registration form is completed, e.g. complete subscription/signup for a service.

Page 8: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

8

Debugging

After successful enabling the extension, you should see the Pixel code appear in the source code of the frontend:

If it doesn’t, please refresh your cache / FPC.

You can also debug with the Facebook Pixel Helper extension for Google Chrome.

https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc

With this extension you can see which tracker is loaded on what page.

Page 9: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

9

Analyzing

After a while you Facebook Business Manager gathered enough information so that you can analyze your data.

There is the event log, which shows how many times the tracker has been fired (also includes non-Facebook traffic):

In your Campaign Overview you can modify the table to view analyze different data.

Page 10: Facebook Pixel User Guide - Magento...Facebook Pixel User Guide . Magento 2.* Extension by i6 Media B.V. former ... which means Facebook will adjust your Ad Placements automatically

10

Support

We tend to provide excellent support with all our extensions. If you have questions regarding the extension or Magento, please contact us at [email protected] .

Thank you for purchasing at i6 Media B.V. !