If you have already have set up a Google Analytics account for your domain then please skip down to step 1 under the Google Analytics Steps. If you don't have a Google Analytics account set-up yet you will need to go set one up. You can view the article "Get Started with Analytics" to help you get your account set up.
Once you have your Google Analytics account setup please follow the steps below to add Google Analytics to your website.
Google Analytics steps:
You will need to log into your Google Analytics account to get the tracking code for the specific property you are working with.
- Log into your Google Analytics account.
- Next select "Admin" from the left navigation bar.
- Under the Column labeled "Property" click "Tracking Info"
- You will then need to select "Tracking Code".
What you are wanting to copy is under the title of "Global Site Tag (gtag.js)". This is the tracking code needed to add Google Analytics to your website inside your REI BlackBook account.
Here is an example of that code:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX-NN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXXX-NN');
</script>
Now you are ready to return to your REI BlackBook Account and follow the steps below to add the tracking code from your Google Analytics site to your website:
- From you Dashboard click Web Tools and select Websites from the drop down menu.
- Once you are on the websites page there are two ways you can add Google Analytics to the website of your choosing.
- Select the Icon for Analytics on the website you want to add the Google Analytics to.
- Or you will click on the Control Panel of the website you want to add the Google Analytics to, and select Tracking Codes.
- Select the Icon for Analytics on the website you want to add the Google Analytics to.
- You will then need to copy and paste the entire tracking code script that you copied from your Google Analytics account into the Google Analytics Box located on the left hand side.
- After pasting the tracking code in the Google Analytics box you will click the Add Tracking Code to Site button to add Google Analytics to your account.
You have successfully added Google Analytics to your website. If you have any questions or concerns about the information above please contact us at support@reiblackbook.com.