You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Is there any particular reason to trigger the window.fbq('track', 'PageView') event inside of the trackTikTokPixel function ?
Describe the solution you'd like
It would be really helpful to have a way to opt out of the PageView event for the tiktok tracker or in general, like a pageViewDisable bool field inside of gatsby-config.js for the facebookPixel and tikTokPixel objects.
Additional context
My problem is that I wanted to add the eventID param to the PageView event for facebook pixel, after adding it manually (I had to opt out of the gatsby-gdpr-facebook-pixel and install fbevent.js manually because there is no way of doing it with this package), I got a warning that the event is getting duplicated and found out it was getting triggered by the trackTikTokPixel.
The text was updated successfully, but these errors were encountered:
redasalmi
changed the title
Disable PageView event per default for tiktok and facebook pixel
Allow to disable PageView event per default for tiktok and facebook pixel
May 26, 2022
Is your feature request related to a problem? Please describe.
Is there any particular reason to trigger the
window.fbq('track', 'PageView')
event inside of thetrackTikTokPixel
function ?gatsby-plugin-gdpr-cookies/src/services/tiktok.js
Lines 35 to 44 in 02ce0e6
Describe the solution you'd like
It would be really helpful to have a way to opt out of the
PageView
event for the tiktok tracker or in general, like apageViewDisable bool
field inside ofgatsby-config.js
for thefacebookPixel
andtikTokPixel
objects.Additional context
My problem is that I wanted to add the
eventID
param to thePageView
event for facebook pixel, after adding it manually (I had to opt out of thegatsby-gdpr-facebook-pixel
and installfbevent.js
manually because there is no way of doing it with this package), I got a warning that the event is getting duplicated and found out it was getting triggered by thetrackTikTokPixel
.The text was updated successfully, but these errors were encountered: