Does anyone use google analytics? We have it insta...
# suitecommerce
k
Does anyone use google analytics? We have it installed and connected to NS????not sure what the connection does in NS if anything. My understanding is google analytics only looks at traffic through the URL we put in and it tracks all activity through analytics but nothing is really in NS...correct?
p
Analytics integration with SCA is like most integrations of any website with Analytics. Means when your customers visits the website, google tracks their hits and events... And you can then look at statistics and dashboards in the Google Analytics console. Not in NS.
k
hi @PabloZ, thanks for the info. That is what I was thinking but my manager was saying it was integrated into NS and wanted me to change the settings in NS. Google analytics tracks and hit to the web store and they only want it to track Direct to consumer sales and not any others... Told them that is easy to make a report in NS for that but not familiar with Google Analytics tool..do you know if there is a setting in there to adjust to only track to the end consumer and not dealers and marketing orders ect... Thanks
p
Same URL for consumers and dealers?
k
yes
p
generally speaking there are ways in google analytics to push customer attributes. And then you can add filters. But if you're going to look for data that is gathered by analytics, i'm pretty positive you only be able to see it in google analytics itself.
k
thanks. I see you can add filters in google but trying to figure out the difference between a consumer and dealer to add the filter in Google so I can make different dashboards...
p
Indeed, that separation is something "custom" to your business. And then you'll have to code something to add the push of that flag to SCA most likely (not sure, trackings are not my area of expertise, i just know the overall architecture of things)
k
thanks for the input
r
Yes you would need to basically fire events into GA based on your customers. So on our website we have a dataLayer into which we store what type of customer is on the site.
👆🏽 1
That data is then passed to GA. How you pass it is up you but options include sending it as custom dimensions or events
👆🏽 1
What version of SCA are you on?
k
we are currently on Vinson....so a bit out dated.
r
So our current live site is Elbrus we did numerous customisations to build a sophisticated dataLayer using the universal_variable syntax
message has been deleted
So you can see we set the customer_type attribute
Then you just need to use something like Google Tag Manager to pick up on that value and pass it to GA
k
aaaa ya...seems a bit advanced for me and figured it was something like this and not just a setting in NS. I will talk to our developers on this and give them this info. Thank you!
p
Rehan - be aware that sending PII to GA is against google rules
r
Yeah , we don't send any PII data into GA
p
👍🏽
r
Though I sadly know of instances of inexperienced devs sending emails in event data into GA. They didn't understand "Make sure you hash the email first"
p
Exactly 😄