Giter Site home page Giter Site logo

adobe / reactor-extension-meta-pixel Goto Github PK

View Code? Open in Web Editor NEW
0.0 14.0 2.0 4.57 MB

Adobe Experience Platform tags extension that sends tracking data using the Meta Pixel library.

License: Apache License 2.0

Shell 0.05% JavaScript 99.68% Stylus 0.10% HTML 0.17%

reactor-extension-meta-pixel's Introduction

reactor-extension-meta-pixel

Build Status Coverage Status npm (scoped with tag)

This is the Meta Pixel extension.

Get started

To get started:

  1. Install node.js.
  2. Clone the repository.
  3. After navigating into the project directory, install project dependencies by running npm install.

Scripts

To run tests a single time, run the following command:

npm run test

To run tests continually while developing, run the following command:

npm run test:watch

To ensure your code meets our linting standards, run the following command:

npm run lint

To create a build, run the following command:

npm run build

To create the extension package, run the following command:

npm run package

License

The code is released under the Apache 2.0 license.

reactor-extension-meta-pixel's People

Contributors

aaronius avatar benlampert avatar ccwang avatar dabramovici avatar dependabot[bot] avatar dompuiu avatar facebook-github-bot avatar markhicken avatar rahulraina7 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ghas-results

reactor-extension-meta-pixel's Issues

Extension ignores Adobe Launch conditional checks

Discovered that when this extension is used in Adobe Launch it does not respect the conditionals of any rule utilizing it.

Steps

activate extension in Adobe Launch
add a rule in launch to fire pageview call using the extensions pageview option, setting a condition to only activate on a specific page url, set the event to fire on "page bottom"
build and deploy the rule to your site.
verify that the url you specified has the pixel tag.
Results

Page in the conditional has the pixel tag
every other page using the Launch library that rule is made within also implements the pixel tag.
Problems

this implements in China when china is not specified. The call to the pixel is to en_US/fbevents.js which is blocked by the country's firewall. this causes pages to become slow, unresponsive, or blank as the firewall assumes the entire page is trying to access restricted content.
this implements outside of all GDPR solutions that require customer consent to start providing tagging. This in turn then causes all EU pages to break the law by implementing the tag outside of the conditionals.
Solution
Disable the extension and implement the pixel via Adobe Launch's custom code. This works as expected and respects the page conditionals even though the extension implements the very same pixel code.

Initially found by @TroyGottier in the original extension code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.