railslove / rack-tracker

Tracking made easy: Don’t fool around with adding tracking and analytics partials to your app and concentrate on the things that matter.
https://www.railslove.com/open-source
MIT License
647 stars 120 forks source link

Implement Facebook "Advanced Matching with the Pixel" #95

Open marisveide opened 6 years ago

marisveide commented 6 years ago

Hi!

Facebook has this advanced matching method when it allows to pass additional params about visitors to track when Facebook cookie is not present (like in apps which are inside iframe).

Here is the Facebook Tracking article: https://developers.facebook.com/docs/facebook-pixel/pixel-with-ads/conversion-tracking/#advanced_match

Really need this feature. It should allow to pass those params for each user session separately.

Thanks a lot!

Maris

bumi commented 6 years ago

Hi Maris, thanks for reporting. That would be a great extension to the current facebook_pixel option. Would you be interested in contributing that extension? I could help you and point you in the right direction.

We probably need to extend this init call: https://github.com/railslove/rack-tracker/blob/master/lib/rack/tracker/facebook_pixel/template/facebook_pixel.erb#L10

It should already be possible to pass any number of options to the facebook pixel setup.

robertocinetto commented 6 years ago

Hi Michael, has this feature been developed?

Thank you!

bumi commented 6 years ago

related to #100

there has not been any update on this. We are looking for contributors for those extensions. @robertocinetto are you interested.

rromanchuk commented 3 years ago

in case you're still interested https://github.com/railslove/rack-tracker/pull/157