Developer Hub
SupportDashboardGuides
Developer hub
Developer hub
  • Home
  • WiFi SDK
    • Overview
    • Integrating the SDK
      • iOS
        • QuickStart
        • SDK methods
          • initC4w
          • createCustomer
          • setupCustomer
          • createWPA2EnterpriseProfile
          • createPasspointProfile
          • getCreatedWPA2EnterpriseProfiles
          • getCreatedPasspointProfiles
          • getCustomerId
          • getCustomerInfo
          • updateCustomer
          • updateCustomerInfo
          • checkIfCustomerExists
          • getListOfPolicies
          • deletePasspointProfile
          • deleteWPA2EnterpriseProfile
          • setAPIAuthParams
          • setInterlinkedC4WIMobileSDKApplications
          • getInterlinkedC4WIMobileSDKApplications
          • logout
        • Objects
          • Customer
          • CustomerDocument
          • CustomerCreateResponse
          • CustomerInfo
          • CustomerQuery
          • WPA2EnterpriseProfile
          • PasspointProfile
        • Additional features
        • Changelog
      • Android
        • QuickStart
        • SDK methods
          • initC4w
          • createCustomer
          • setupCustomer
          • createWPA2EnterpriseProfile
          • deleteWPA2EnterpriseProfile
          • createPasspointProfile
          • deletePasspointProfile
          • isPasspointSupported
          • getCustomerId
          • getCustomerInfo
          • checkIfCustomerExists
          • updateCustomer
          • updateCustomerInfo
          • getListOfPolicies
          • setAPIAuthParams
          • getCreatedWPA2EnterpriseProfiles
          • getCreatedPasspointProfile
          • setInterlinkedC4WIMobileSDKApplications
          • getInterlinkedC4WIMobileSDKApplications
          • logout
        • Objects
          • Customer
          • CustomerDocument
          • CustomerCreateResponse
          • CustomerInfo
          • CustomerQuery
          • WPA2EnterpriseProfile
          • PasspointConfiguration
        • Additional features
        • Troubleshooting
        • Changelog
      • Flutter
        • QuickStart
        • Changelog
    • User experience
    • FAQ
  • Location SDK
    • Overview
    • Integrating the SDK
      • Android
        • Quickstart
        • Project initialization
        • SDK Methods
          • Enable/Disable
          • Handling blocking issues
          • Get Device Id
          • Reset device Id
          • Locations of Interest
            • Home location
            • Work location
        • Changelog
      • iOS
        • QuickStart
        • Installation
        • Project initialization
        • SDK methods
          • Initialization
          • Enable/Disable
          • Get Device Id
          • Reset device Id
          • Locations of interest
            • Home location
            • Work location
        • Reference versions
        • Changelog iOS
      • Flutter
        • QuickStart
        • Changelog
  • Demo toolkit
    • Demo app
    • Testlab WiFi setup
  • API Reference
    • Getting started
      • Authentication
      • Contacts
      • Locations
      • Geofences
      • Devices
      • Segments
      • WiFi logs
      • Events
    • Webhooks
    • Use cases
    • Legacy APIs (v2)
  • MyApps
    • My App Intro
    • Creating Apps
      • Access Journey Apps
      • Apps for the Dasbhoard
    • MyApps APIs and SDK
      • Access Journey SDK
      • REST APIs in MyApp
      • Context APIs
    • Sample projects
      • MyApps -Js SDK boilerplate
      • Video Advertising
      • Typeform integration
      • Facebook Pixel in Acces Journey
  • Tutorials
    • Sample onboarding flow for new app users
    • Integrating WiFi SDK in Flutter apps
Powered by GitBook
On this page
  • What you need
  • ‍

Was this helpful?

Export as PDF
  1. MyApps
  2. Sample projects

Facebook Pixel in Acces Journey

PreviousTypeform integrationNextSample onboarding flow for new app users

Last updated 3 years ago

Was this helpful?

Advertising Pixel and trackers allow to identify anonymous users and create targeting audiences in your advertising platform. In this tutorial, we'll how to inject the Facebook Pixel in the guest WiFi portal so that you can retarget the store visitors with Facebook Ads.

More details on the use cases can be found here:

What you need

  • A Facebook Pixel. Follow the Facebook user guide here:

  • A Cloud4Wi account with access to MyApps

  • A hosting account or a Heroku account

1. Create your Pixel

Once you created your Facebook Pixel following FAcebook instruction, you need to copy the Pixel ID.

2. Deploy the App

In the alternative, you can use Heroku and take advantage of the Heroku Button below. Click the button below to install the app in a few clicks.

In the setup screen, enter your Pixel ID in the variable "FB_PIXEL_ID"

Once deployed, copy the link of your app. You can find it in the Setting tab.

3. Create a Cloud4Wi App

Login into MyApps using your developer account.

Create a new app, using the following settings:

  • App Visibility: Organization and Location level

  • Enable pre-authentication mode: checked

In the app endpoints, set the URL of your deployed app:

Note: remember to set the path of your app home page in the "Access Journey Page" input.

4. Publish your Cloud4Wi App

Log in to your Cloud4Wi Account. Go to Marketplace and click the Add button. Enter the App Id of your app and click Confirm to install the app in your Cloud4Wi

account. As the last step, publish the app in the Access Journey, on the Login Attempt or Sign-Up step, to present it to your customers during the WiFi access.

‍

To get started you can clone and deploy the code on your own server. In that case, remember to initialize the environment variable "FB_PIXEL_ID" with the value of your Pixel ID.

this GitHub repository
https://cloud4wi.zendesk.com/hc/en-us/articles/360035706472
https://www.facebook.com/business/m/pixel-setup-get-started
Deploy