Support » Plugin: Enhanced Ecommerce Google Analytics Plugin for WooCommerce » Add Google Analytics code to /wp-login.php page

  • Resolved airathalitov

    (@airathalitov)


    Hi!
    Thanks for great plugin!

    Can you add Google Analytics code to /wp-login.php page?
    This page don’t have any tracking code and I don’t see this page in my GA reports.

    Enhanced Ecommerce Google Analytics Plugin for WooCommerce 2.1.6
    WordPress 5.0.3

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tatvic

    (@tatvic)

    Hi Airat,

    Thank you for the suggestion!

    We are focusing on Enhanced E-commerce tracking on a public/user side (front-end) so we haven’t added it. Additionally, we are excluding Admin user from the tracking.

    However, you can add it from your end manually.

    Thanks & Regards,

    airathalitov

    (@airathalitov)

    This is front-end.
    When a user buys a product and decides to log in, you should see it in your sales funnel (in GA).

    Plugin Author Tatvic

    (@tatvic)

    Hi Airat,

    From the front-end, if the login URL is like this http://www.example.com/my-account or http://www.example.com/login (basically a general scenario for the client login) then our plugin will track the pageviews for it because of front side login.

    But if the user redirects to the http://www.example.com/wp-login & then redirect back to the store, it will not track by our plugin. Look at this screenshot1 & screenshot2, you will get the idea from this.

    Hope this helps!

    Regards,

    • This reply was modified 6 months ago by  Tatvic.
    airathalitov

    (@airathalitov)

    But you can simply add GA code to /wp-login.php page (it’s not so hard).
    I’m not using usual WooCommerce /my-account page, because I’m using WordPress+WooCommerce+BuddyPress plugins.

    You can check it on my website: https://airat.biz/wp-login.php

    I manually added yandex.metrika code (you can see it in source code of page). But for Google Analytics I’m using your plugin.

    Plugin Author Tatvic

    (@tatvic)

    Hi Airat,

    Thank you for the suggestion!

    Currently, we have no plan to add a GA script on a wp-login. We’ll keep this suggestion for the future release.

    Regards,

    airathalitov

    (@airathalitov)

    Thanks!
    Looking forward to updates

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add Google Analytics code to /wp-login.php page’ is closed to new replies.