Facebook Link clicks higher than Landing page view - google-tag-manager

I’m facing a weird result from Facebook Manager by activating a campaign in a new SPA (asynchronous loading) website: only 10% of the FB Link clicks gets a Landing page view result. Same behaviour in Google Analytics, but more results (+/- 40%).
I’m using GTM to push the Facebook pageview tag with the regular pageview pixel script. Triggers used:
Pageview all pages (for each page loaded – new session or page refresh)
History change (navigation in the SPA pages)
List item
When I’m debugging the FB pixel, everything looks to be correctly set up:
GTM preview: I’m seeing the tag fired
ObservePoint + Facebook pixel helper + Chrome DevTools Network: I can see the following Facebook url sent by clicking on a FB ad:
https://www.facebook.com/tr/?id=1111111111&ev=PageView&dl=https://hostname.com/page?param1=1&param2=2&utm_source=fb&utm_medium=cpc&utm_campaign=xxx | 2022&fbclid=3q2s131qs1d32q132d&rl=&if=false&ts=1656328556245&sw=2048&sh=1152&v=2.9.62&r=stable&ec=0&o=30&it=1656328556200&coo=false&exp=p0&rqm=GET&dt=hi57gjmsg5j527ia92z7j27mmz1of1b9
Other comments:
I also tested to remove the cookie consent blocking trigger in case of huge opt out, but no specific increase of pageviews.
No redirect has been detected in the campaign
Does anyone already encounter this kind of issue?

Related

FB pixel not sending events to Google Analytics (GA4) while using tag manager

I'm really struggling connecting the FB pixel, my website, Google Tag manger, and GA4 analytics together. I am trying to track when different CTAs are clicked on the homepage. I have set that up with the FB pixel, however, can't seem to see those events in GA4. Here's what I have done:
FB pixel installed successfully with fbq('track', 'EventName'); for each button
Google tag manager head and footer code inserted into homepage
FB pixel and GA4 tags set up in tag manager set to fire on #4 below
Link triggers set up for each button with click ID matching my button ID
I'm not sure what I'm doing wrong, and why GA4 isn't seeing which button is clicked!
Has anyone successfully greased this path? I imagine this may be difficult for marketers? Any insight is greatly appreciated!! Thank you!
Site is oxandrabbitdesigns.com, hosted on webflow

Some Google Tag Manager form submission events not showing up in Google Analytics Real-time

I implemented form submission tracking with Google Tag Manager on my website. Whenever a form is submitted I got an email. It seems that maybe out of every 3 form submissions Google Analytics only records ~one event.
I tried to debug the issue using the preview mode in GTM. It seems that when I submit the form (making sure that the submitted form goes to a different browser window) I can see in the preview window that my form submission tag was fired, and I can also see the event in Google Analytics Real-Time / Events, so everything looks okay.
However if I leave the preview mode and do the same, I cannot see the form submission event any more in GA real-time.
My questions:
1. why do I not see the form submission when I leave the preview mode?
2. what would be the best way to debug the whole process to make sure that I will get all the form submission events in the future?
Thanks a lot for any hints?
W.

Tracking clicks with Google Analytics on a link to AppStore

Tracking clicks with Google Analytics:
I am trying to track clicks on a download button on my site (wordpress) that takes users to the AppStore.
I set up a goal and changed the button code to the following:
<a onClick="ga('send', 'event', 'AppStore', 'Click', 'top-button', '0');"href="
www.example.com">Download on the App Store</a>
and nothing is tracking. (By that, I mean that website visits are tracking but not clicks)
I have come across this support article (https://support.google.com/analytics/answer/1136920?hl=en) that seems to imply that outbound links need an additional tracking code installed in the site's header, so i've added that in, and still no clicks are being tracked.
The support article also seems to mention that outbound links should be tracked as follows:
Check out example.com
I am confused as to what code I should be using on the button to be able to effectively track clicks.
Advice please!

Google Analytics: Visitors flow: Only showing root with 100% drop off, no pages

I would like to use the google analytics visitors flow tool but it does not show any specific page. All visits are in one big block "/". If I click on "group details" pages are listed just fine.
My site uses url parameters like mypage.com?p=products to switch between pages. I have managed to set up analytics so that it understands this and works on the "content" page and everywhere. How can I make it also work with "visitors flow" to display specific pages?
this might be the same problem: Google Analytics: 100% Drop off from landing page
Just noticed that links on my page are missing the slash before the "?". will add the slash and report back.
Edit: Though I guess that was an improvement it did not solve the problem.
I am using absolute links (http:/mysite.com/?p=contact) all over the place. Should I try relative links to get this to work?
Yes, you need to put a / before the ? in your links or else Analytics could interpret your full URL as the domain/sub-domain and not report any page paths or levels (like you're observing).
Additionally, are you sure the Analytics script is firing whenever a new page is loaded? Clicking through your site it looks like the base page template may not be reloading whenever you click to a different page (only the content is reloaded). If this is the case and the Analytics script is part of your base template, it would only fire once when the visitor first enters the site and load the page template and never again. Since Google Analytics calculates pageviews and time on site/page based on the difference in time between when the _trackPageview() is fired, it could explain your problem.
I would suggest moving your Analytics script to a portion of the markup that is reloaded every time someone clicks to a new page to see if this does the trick.

Cross domain tracking works separately in each domain(not linked)

Using Google Analytics,
I am trying to track initiated from external site(siteA.com).
At siteA.com, open new window to go main site(siteB.com).
So I put setDomainName("none"), trackPageview, and getLinkerUrl(URL_TO_SiteB) on siteA.com.
And open URL returned from getLinkerUrl, open new window to go siteB.com
And also put setDomainName("none"), setAllowLinker(true), trackPageview on siteB.com.
But, I think something wrong with this configuration.
At navigation summary, there is no previous page or next page at page tracked from siteA.com.
And strange page(another page of siteB.com) is recorded as previous page of siteB.com.
Is there any missing part of configuration?
In short,
site A > site B linking is not working(there is no page having site A as previous page and there are strange pages used as previous page of site B).
I am struggling with this issue about a month.
I eagerly waiting for your help.
Thanks in advance.
The code you are using is for tracking iframes.
To setup cross domain tracking in the <a> of link to siteB add
onclick="_gaq.push(['_link', this.href]); return false;"
Complete details here
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite#multipleDomains

Resources