New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin Requests #153
Comments
Just a quick note, shouldn't the |
#278 |
Support of Facebook Pixel Custom Plugin with getAnalytics. |
Support of Posthog Custom Plugin with getAnalytics. |
hi @abhishekpatel946 |
@harrisyn I used this code earlier as utility with getAnalytics plug-in at that time getAnalytics do not directly suuport the facebook pixel. So i was created this as a utility and integrate with getAnalytics and it worked for me. |
Would appreciate any insights, I have previously integrated other plugins
successfully.
When I use a useEffect to load the react pixel it works fine
…On Wed, Sep 27, 2023 at 9:12 AM Abhishek Patel ***@***.***> wrote:
@harrisyn <https://github.com/harrisyn> I used this code earlier as
utility with getAnalytics plug-in at that time getAnalytics do not directly
suuport the facebook pixel. So i was created this as a utility and
integrate with getAnalytics and it worked for me.
If it's not working properly then we can fix this.
—
Reply to this email directly, view it on GitHub
<#153 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABF3YIIM2GA3LM7A6CEUPW3X4PUYXANCNFSM4ZAQANCQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, I am using To answer your question in detail so dump all the code and utility for analytics down below.
And create a new file where I put
and I am using this inside the components to capture the with the help of
|
in your example the "enabled" property doesn't seem to be used, so i will discount that as a difference, other than that I think my implementation is almost identical (mine is typescript). However it doesn't send any events. when I use the react-facebook-pixel plugin directly within useEffect ``
}, [router.events, state?.storeData]) `` it works fine. |
Then you should use the useEffect to capture the event. Not sure why it is not capturing the event once component mount? 🤔 May be it is dependent on some client side effects or window. |
Consolidating thread on all open plugin requests.
All issues need help if you'd like to contribute to the project 😃
The documentation on writing a plugin can be found here.
The text was updated successfully, but these errors were encountered: