• GoDaddy Community
  • Managed WordPress Hosting
  • Managed WordPress Hosting

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution
    rymiller
    New

    Google Analytics in Staging vs Prod

    Do I need a different GA code for staging compared to Prod?  If I put the GA code into staging and then it gets pushed to Prod, then all the activity on Staging would show up in my GA, correct?  How is this normally managed within a Managed Wordpress site with staging?

    1 ACCEPTED SOLUTION
    PL281
    Super User II

    @rymiller 

     

    I would tell you this is true for any place where you copy from production to staging - what I would do is just disable the analytics code on the staging site and just re-add it when you move back to production - the other thing you might be able to do is filter it on the Google side to not include the temp domain.

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    View solution in original post

    1 REPLY 1
    PL281
    Super User II

    @rymiller 

     

    I would tell you this is true for any place where you copy from production to staging - what I would do is just disable the analytics code on the staging site and just re-add it when you move back to production - the other thing you might be able to do is filter it on the Google side to not include the temp domain.

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    View solution in original post