Issue with Facebook Pixel in Next.js - Incorrect Page URL Reporting #70263
Unanswered
mikesawicki23
asked this question in
Help
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi there!
I’m encountering an issue with Facebook Pixel integration in a Next.js application. Regardless of whether I initialize the Pixel through Google Tag Manager (GTM) or directly in the code, the Pixel consistently sends the root domain as the Page URL for all events, instead of the actual page path the user is on.
Example:
Expected Page URL: https://mywebsite.com/category/product
Facebook Pixel sends: https://mywebsite.com/
Steps I’ve taken so far:
If anyone has encountered this issue before or has suggestions on how to fix it, I’d really appreciate your help!
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions