Shop Dudes Help & Support

How do I setup Google Analytics in my Shop Dudes Store?

Shop Dudes officially supports and recommends using Universal Analytics, which is the latest version of Google Analytics.

Although Shop Dudes also supports the usage of Classic (Asynchronous) Analytics, you should use Universal Analytics unless you have specific implementation requirements. Universal Analytics has all the functionality of Asynchronous Analytics in addition to new features.

1. Begin by going to the Google Analytics homepage and click the create an account link in the top right corner.


2. On the next page, click Sign in or create new account.

3. Click Website, not Mobile app, and fill in the form. Enter your primary domain for the Web Site URL. The checkboxes at the bottom are not relevant.

Click Get Tracking ID at the bottom of the page to complete signup.


4. On the next page, you'll see a lot of information and options. The only thing you need is the code snippet that Google provides. It looks similar to this:

<script>    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)    })(window,document,'script','//','ga');      ga('create', 'UA-########-#', '');    ga('send', 'pageview');    </script>  

(You can find the code snippet at any time from your Google Analytics Admin. Choose Settings, then Tracking Info, and scroll down to find the tracking code.)

5. Copy the code snippet to your clipboard by highlighting it and pressing Cmd-C (Ctrl-C on PC).

6. Open your Shop Dudes store Admin in a new browser window.

7. In your Shop Dudes Admin, go to the Settings > General page.


8. Paste your Tracking code into the Google Analytics code field.