Facebook Offline Event
Sync in-store transactions to facebook offline event datasource
What is facebook offline event
You can track your offline activities by using facebook offline events. This integration shows you how to use conversation api to sync in-store purchases into your offline event dataset.
Prerequisites
Before you start to enable this integration, you need following item ready
Omneo
Omneo team need to prepare
- Omneo Domain
- Omneo Token
- Omneo Shared Secret
Facebook
- Facebook business account
Create datasource in Facebook
You will need to create offline event sets in order to store offline events, below are steps
- Go to Events Manager and make sure you select correct business account in top right dropdown menu
- Click
Connect Data Sources
in left menu panel - Select
Offline
and click Get started
![](https://files.readme.io/ec6ebf9-1.png)
- Name your dataset, e.g. Offline Purchase
![](https://files.readme.io/522bd15-3.png)
- Once created, you will see dashboard like below
- Click
Set Up Conversions Api
and follow the steps below. Please selectPurchase
as event
- In last screen shot above, please click
Open Implementation Guide
link in Manually Implement the api Yourself, and generate conversions api token, then save token somewhere. - Go to Settings tab of your datasource, then copy Dataset ID and send it together with token in last step to Omneo.
Omneo team enable the offline event plugin
Once receive api token and dataset id, omeno team need to
- Create plugin settings (namespace:
fb-offline-event
) in dashboard, it requires
conversions_api_token
: get this from clientpixel_id
: dataset id from clientenabled
: truelocation_types
: mapping for locations type to offline event data source, e.g.
{"store":"physical_store"}
fb_api_version
: SDK version, e.g.v17.0
- Create entities in datastore of
omneo-extensions
project with
- Omneo domain
- Omneo token
- Omneo Shared Secret
- Create Webhook in Omneo for
transaction.created
event and point to offline-event extension.
Updated about 1 year ago