I don't know how to implement this task. I have to add google analytics code but where to add file path I don't know. Can you please tell me the file path in magento2?

1 Answer 1

  1. Log in to your Magento 2 admin and go to Stores > Configuration.

  2. Then go to Sales -> Google API -> Google Analytics.

  3. Enable -> Yes, Add your tracking number in "Account Number" and Save Config

  4. Flush Cache

  • Hi @Evince Development, I want to add bing script code for adding bing search engine to my magento2 website then where to add that script code in Magento2 Commented Aug 16, 2018 at 12:49
  • For all the pages? Commented Aug 16, 2018 at 12:52
  • Only for checkout pages. Commented Aug 16, 2018 at 12:53
  • Do you mean only on the checkout success page? Can you please post a new question for this? Commented Aug 16, 2018 at 12:57
  • Hi @Evince Development, I want to add Google tag manager script code for magento2 file path? I don't know the file path for magento2. Could you please help me? Commented Sep 24, 2018 at 5:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.