cancel
Showing results for 
Search instead for 
Did you mean: 

How can i setup google analytics & google commerce tracking in yacceleratorstorefront ?

former_member634278
Participant
0 Kudos

Hello,

How can i setup google analytics & google commerce tracking in yacceleratorstorefront ? and can i send userid with push function to google ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

raghavendra_desu
Contributor
0 Kudos

Hi Saleh,

Please go through the link, which will guides you to install google analytics in storefront.

https://wiki.hybris.com/display/release5/Google+Analytics+-+Installation+Guide

Regards,

Raghavendra.

former_member634278
Participant
0 Kudos

Thanks , but where can i found the below path in Hybris :

ext-commerce/storefoundation/web/webroot/templates/layout.xhtml ?!

i can see that googleanalytics.tag file already exist in the storefront ? but i still don't know how to install it on acceleratore ! the aboce article is how to create and open an account on google analytics ?

Thanks

Former Member
0 Kudos

Your storefront is prepared for Google Analytics, its mainly in that tag you found. As you can see, there is a condition in it that is somethign in the line of

 <c:if test="${not empty googleAnalyticsTrackingId}">


this is what the article linked above is all about.

Best of luck!

former_member634278
Participant
0 Kudos

Hello ,

Thank you for your answer, I know that but where can i set Tracking ID ! and shall i link that file in tag.js file to make it for track all the files !?

Thanks

Answers (0)