I have ecommerce tracking setup and working fine, now i want to add some extra views/profiles to the same analytics property, will the ecommerce information also show up for the new view or do i need to do anything to make sure this works???
It appears that filtering does affect ecommerce transactions and values from appearing on a analytics view. The best method is to use segments to show transactions on certain areas/categories of your website.
Related
I have added Google Tag Manager to our site, and using the data layer inserted several custom dimensions, including 'user_id'
Data Layer with user_id shown
The Google Analytics variable in Tag Manager is configured to pass these data layer variables into the coresponding dimensions:
Tag Manager Variable & Dimensions in Analytics
I know this is working as I am able to add this as a secondary dimension in Analytics when viewing reports:
Analytics with Dimension Shown
However, the user view that is created when I have set up the User-Id isnt showing anything:
Creating the User View
We installed Tag Manager using the recommended steps:
Installation of Tag Manager
Do we also need to add the 'Global Site Tag Tracking Code'?
How to Implement the User-ID in your tracking code
If not, what am I doing wrong?
You're actually REALLY close. You actually don't need to create the custom dimension.
The correct way is to set the userId field in your GA tag (I did it through a GA variable so it is applied everywhere).
Yes, that is exactly correct (what #XTOTHEL answered above), but for those who are reading this, I found these two blog posts helpful (esp if you are using GTM):
GA UA: https://www.analyticsmania.com/post/google-analytics-user-id-with-google-tag-manager/
GA4: https://www.analyticsmania.com/post/google-analytics-4-user-id/
And of course, the GA docs: https://support.google.com/tagmanager/answer/4565987?hl=en
I do not understand how to catch data from an event in google analytics.
I watch my event
My dataLayer is like the documentation (https://developers.google.com/tag-manager/enhanced-ecommerce#cart)
My question is : How can i see that (product's data and actionField) in Google Analytics ?
Thanks,
The "step" is visible in the Checkout Behavior report in the E-Commerce-Section of the Conversions-Menu (it's displayed as a funnel step in the visualization and you can give it a proper name in the view settings).
Checkout options can be displayed as secondary dimensions, used in segments, custom reports and via the API (they are not part of the standard reports).
I had a question about Google Tag Manager. (I also felt bad for having the IT guy fix my mistakes on my simple click tag)
I wanted to track when a user enters a specific url when they click a link button on the homepage.
This is what it looks like
Image
This is my idea on what the Tag and Trigger should look like
Image
But I'm worried about having the trigger be fired when there is another page in the funnel
Also if the only way to do this is in the goal feature of GA that is good to know also. (I currently don't have the permissions here)
Thanks for responses
While it is difficult to achieve exactly what you're describing (it would involve storing data in cookies and then using these cookies to conditionally fire tags), there is a better way to achieve what I assume is your ultimate objective: an analysis of the shopping funnel.
Specifically, the Google Analytics enhanced ecommerce module has a dedicated report (the Conversions > Ecommerce > Shopping Behavior report) that shows you exactly this. It shows you the number of sessions for each stage of your shopping experience (product view -> add to cart -> checkout -> purchase) along with drop-off rates and volumes between each of these steps.
It is a little bit more involved to implement enhanced ecommerce but the final result is definitely worth it for an ecommerce business. Instructions for implementation of enhanced ecommerce (using Google Tag Manager) can be found here.
GTM is hit based without any notion of persistence. So by default this will not work.
You would need a custom HTML tag with a javascript function that sets a cookie, or writes a value to localstorage, when the button is clicked.
Then on your destination page you can check if the cookie exists and fire the tag accordingly.
I don't think the goal feature in GA can do that, either. A goal is registered when you hit a destination URL or event, you cannot specify conditions other than the destination.
I am trying to implement Enhanced Ecommerce (EE) for Google Analytics (GA) using Google Tag Manager (GTM) but don't see any data showing up in GA.
Using the GTM preview mode, I can see that the data in the dataLayer is correct and that the right Tags are fired. I have also made sure to (correctly) create separate Tags for all the things I want to measure, which are:
measuring the product detail view
measuring the checkout process (both checkout steps and checkout options)
measuring purchases
Perhaps I should also note that I am developing from localhost, but I don't think that should matter (?).
Edit:
When composing this question I was unable to post images, but I later realized I can post links of course. So, for clarification:
Tags that are fired on my Product Detail Page:
http://oi60.tinypic.com/2woeqe8.jpg
The dataLayer containing the ecommerce data:
http://oi59.tinypic.com/6s7yxd.jpg
It turned out working localhost actually was the problem, my solution to this problem is explained here: https://stackoverflow.com/a/29214212, but in short: go to Tags > My Tags > Configure Tag > More Settings > Fields to Set, type in 'cookie' in the Field Name input field, select cookieDomain from the suggestions, and set the value to none.
I have custom events being successfully tracked in Google Analytics.
However, when adding a secondary dimension of page, or when creating a custom report to group custom events by page, my numbers go way off. The total events number goes down, and half of the events that I saw in the unfiltered report are no longer there. My custom report is setup quite standard from what I can tell. Does anybody have any experience or similar issues to this? Are we not tracking something correctly?