Facebook pixel tracking with google tag manager and angular

Viewed 34

The angular app use GTM (google tag manager) for different tags, such as Facebook pixel, TikTok pixel, Google analytics, etc.

At the moment we faced an issue with the Facebook pixel. So, in the basic setup, the pixel should fire on the page view event. However, since it's a SPA application, the page view fired only on the first load.

I've already referred to the official Facebook guide - Tagging Single Page Applications with the Facebook Pixel

I created the history change trigger and custom event. However, in the preview mode, seems like the Meta (Facebook) pixel is run only on the first history event and not on other history changes. Could you please advise how to solve it? Thanks

0 Answers
Related