have you had this problem with GA?
The Landing Pages report has a (not set) entry.
A pageview hit must precede event hits in order for the event hits to include the page that they fire from. When event hits aren't preceded by a pageview, Google Analytics doesn't have the page for the event hits, so their page is (not set).
Verify that tracking code for property SITE sends a pageview hit before sending any events.
Google Tag Assistant Recordings can help you verify that your hits are sent in the correct order.
Any suggestions would be great please. Thanks
Related
I have installed the google analytics in our e-commerce site using google tag manager. From the product detail page you can click on the colors to see the same product in the different colors. I implemented this using ajax so the page load is not required. I was curious if the google analytics will count as multiple reviews a user clicks on the different colors or do I need to explicitly call something in order for the GA to count as multiple reviews.
First of all, that depends how and what kind of GA you've implemented.
To implement analytics, you have to specify a trigger for the analytics tag. That trigger normally determines if a tag is fired or not.
If you used a page load trigger, then the tag will only be triggered on the real page load. And it won't be triggered on your ajax manipulations.
With only one exception: if you used the GA4 config tag, you had this checkbox there:
The checkbox doesn't only send the pageview on config load, it keeps sending pageviews on every history change. Therefore, if your ajax causes history change and you use the GA4 config tag, then you're getting pageviews.
But this is theory. You can just go and check. Open your network tab, filter the request by collect and see what's sent when. Or alternatively, install the adswerve datalayer debugger and it will log whatever is sent whenever it's sent into the console in a very neat, clean way. This is how it works on this page:
I have a GA pageview tag firing through GTM with an all pages trigger. GTM is confirmed on page and actively working, and the tag is firing on all pages and hits are being sent to GA.
All except one page, where the GTM tag fires, but not GA hit is being sent.
Debugging within console, filtering for collect hits.
I've never seen a case where the GTM preview is showing the tag firing, but the browser network hits are not being sent.
Stranger still the other tags, i.e Facebook also in GTM, are being sent.
I'd like to know some points I can take to the web devs to help them debug this as it doesn't appear to be an issue with GTM or the tag.
Any ideas appreciated!
Thanks
I'm using Google Analytics to track virtual pageviews when pushState() is executed via by History.js. Things are reporting fine, but there seems to be an error in the ordering of things.
document.title is changing after the URL changes and the pageview fires, so the information sent is not consistent. It appears with an accurate URL, but contains the title of the last page.
If I delay the pageview to be sent by 100 milliseconds, I get the correct info, but would like to avoid doing this in the future.
Any ideas?
You need to be updating the page title in addition to the URL as you're navigating throughout the site.
The Single Page Application Tracking developer guide goes through exactly how to properly track pages loaded via AJAX using Google Analytics.
A client of mine is having some issues with regards to tracking campaigns in Google Analytics that I was hoping one of you can advise me on.
They have recently sent out an email with the Google Analytics campaign information in the links back to the site from a button in the email (link created with the URL builder).
As well as the Google Analytics information they also send their own parameter for tracking using a bespoke system of theirs. In the end the url that visitors would go to after clicking the button in the email was something along these lines:
http://www.domain.com/pagename/?bespokecampaign=lead_gen/email/email_btn/boxcampaign&utm_source=email_pure&utm_medium=email&utm_term=email_btn&utm_campaign=boxcampaign
Looking at Acquisitions in the Google Analytics report I can see in the past this page has been viewed and has the correct Source/Medium set as email_pure/email.
However, there was a lead gen form that was filled out on the site after landing on this particular page that sends an event action that the form was filled out. When trying to view the campaign information for these events I do not see any information regarding the Source / Medium for that event being the correct information from the URL.
The Salesforce model in place to receive these leads took the referrer URL correctly, containing the Google Analytics parameters, but there was no record in Analytics to suggest one of the form events had the Source/Medium of email_pure/email.
Does anyone have any ideas on what could be causing this and potential fixes?
We've implemented Event Tracking code that runs for a while now (more than a week), but we don't see any events in the Events reporting page.
I've tested with Google Analytics Debugger chrome extension, which recognizes the event and claims it's error-less. This means the event is sent to google.
Additional info that might help - we're using virtual page when calling to _trackPageview (and this is the only call to _trackPageview we have).
Initialization example: _gaq.push(['_trackPageview', '/v/user/store/catalog'])
An example of an event: _gaq.push(['_trackEvent','LinkToProduct','CatalogProductbox','3',0,false])
What can I do to debug this further or solve it?
Double check that the correct Account ID is on the _trackEvent call via the Google Analytics Debugger. The Account ID is passed via the utmac parameter.
Are there any filters on the Analytics Profile that might be keeping event data from being recorded?
Are you seeing pageviews for your virtual page /v/user/store/catalog?