Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to implement google ecommerce and enhanced ecommerce Analytics ?

    Knowledge Base
    2
    8
    765
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zakir last edited by

      Hi,
      Ho you have prebuilt code for google ecommerce and enhanced ecommerce Analytics or I have to add those and if do How to implement google ecommerce and enhanced ecommerce Analytics ?
      Say for I want to have in SEO with following ecommerce data to send

      impression data
      product data
      action data
      action types

      https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce?authuser=2

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @Zakir,

        In short, you want Google Analytics or something else?

        You just need to paste the scripts given by google in the header.

        1 Reply Last reply Reply Quote 0
        • Z
          Zakir last edited by

          Hi @devansh-webkul , I already implemented analytics.js but it has more advance for ECommerce which is 'enhanced ecommerce Analytics' , I want to have this .
          Please checkout this https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce?authuser=2

          1 Reply Last reply Reply Quote 0
          • devansh-webkul
            devansh-webkul last edited by

            Hi @Zakir,

            Well these things you need to customize it from your end. Example section is already there,
            https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce?authuser=2#booya

            You just need to transform your data from PHP array to js strings.

            1 Reply Last reply Reply Quote 0
            • Z
              Zakir last edited by

              Hi @devansh-webkul ,
              Thanks for your reply. May I know which bagisto source file I should implement that google ecommerce Analytics ?

              1 Reply Last reply Reply Quote 0
              • devansh-webkul
                devansh-webkul last edited by

                Hi @Zakir,

                It depends on your requirement. Where you want to place all these things?

                1 Reply Last reply Reply Quote 0
                • Z
                  Zakir last edited by Zakir

                  @Zakir said in How to implement google ecommerce and enhanced ecommerce Analytics ?:

                  https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce?authuser=2

                  Hi @devansh-webkul , Yes yesterday I have added some of them in product view page /var/www/html/packages/Webkul/Velocity/src/Resources/views/shop/products/view.blade.php, but for google Action Data means for transaction https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce?authuser=2#action-data where to add?

                  I need to know source location to get transaction once finished an order !!

                  1 Reply Last reply Reply Quote 0
                  • devansh-webkul
                    devansh-webkul last edited by

                    Hi @Zakir,

                    I have checked the link, where they clearly say that this represents information about an e-commerce related activity that has taken place. So the best place is the admin end. Where you will get all the order ids and related stuff.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post