analytics-js-without-segment icon indicating copy to clipboard operation
analytics-js-without-segment copied to clipboard

Facebook Pixel / Integration not included in analytics.js file

Open cgpsn opened this issue 6 years ago • 4 comments

the analytics.js file, loaded from CDN (unminified for easier searching ) https://cdnjs.com/libraries/analytics.js/2.9.1 only defines a Facebook Conversion Tracking integration.

How do I go about loading other open source integrations? https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/facebook-pixel

cgpsn avatar Jun 11 '19 19:06 cgpsn

Good question. Have you found out how to do it?

thebarty avatar Dec 10 '19 15:12 thebarty

@thebarty negatory, abandoned the project. You're supposed to be able to compile your own with only the integrations you want though I could never get it to compile correctly. We've now moved to single app calls with service distribution via tag manager.

cgpsn avatar Dec 10 '19 16:12 cgpsn

@caseygipson thanks for the quick feedback!

Seems like segment is making it hard to compile the latest analytics.js version.

Anyone able to do this?

Pull requests welcome!

thebarty avatar Dec 10 '19 23:12 thebarty

@thebarty @caseygipson yeah I worked it out for a project a few months ago, look here https://github.com/omgwtfwow/analytics.js

omgwtfwow avatar Dec 12 '19 21:12 omgwtfwow