6 Tips to be a Successful UX Prototyper

A UX Prototyper or a Design Prototyper is a very unique role which lies perfectly midway between Design and Engineering. It is a vastly unexplored territory and there is very little guidance on how…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Setting Up Google Analytics On Your Static Website

Google Analytics is the go-to tracking tool among devs for much more than its robust analytics, stability, and integrations. It’s also surprisingly easy to set up.

If you run any kind of website, especially for commercial purposes, having usage data is essential to managing your website.

In this tutorial, we’ll be setting up google analytics on a simple static html site, and start getting real-time usage data.

Click on the “Start measuring” button on the welcome screen which will direct you to the following screen.

In the account setup section, provide a name for the analytics account, set up the data sharing options and click “Next”. You’ll then be directed to the property setup section.

A website, application, etc are identified using the property value and a single account can consist of multiple properties. Provide the property name and select the timezone and currency. Then click “Next”.

The final section is the “About your business” section. Enter the necessary details about your business there and click on the create button to create the account.

Note — You will be presented with the EULA for the analytics which you need to access before proceeding with the account creation.

You will be directed to the creating data stream page once the account is created successfully.

Since we’re targeting a static website, select Web from the “Choose a platform” drop down of the data stream creation page. It will direct you to the Setup Data Stream section. Above the enhanced measurement section, provide a name and the website URL with what needs to be measured and click on the “Create Stream” button.

Enhanced Measurement Options

The above actions will create the web stream and direct you to the created web stream page. This page allows you to further customize the data stream and provides options to integrate it into your desired application or website.

The tagging instructions section provides you with all the available methods to integrate analytics into your website. There are two ways to add tags to your website. One is using Google Tag Manager and the other is simply using the Global site tag by adding a JavaScript entry to your website.

Once you update your code and deploy, your tracking will be live!

The simplest way to verify if the integration is working is by using the Reports section on analytics and looking at the real-time report. If the integration is successful, you will be able to see the current user activity on your website from the Google Analytics dashboard.

There you have it! Your analytics data should not be streaming from your site to Google Analytics!

Happy Coding!

Add a comment

Related posts:

Clutch acknowledges Stfalcon as a 2022 Top app developer in Ukraine

According to the platform Clutch, we’re among the leading app development companies in Ukraine in 2022

What is the philosophy of research?

The philosophy of research refers to the underlying beliefs, principles, and assumptions that guide and inform the way researchers approach their work. It encompasses a researcher’s worldview, as…

Top Ten Scariest Moments on Supernatural

Supernatural is finally coming to an end next year. It seems simultaneously like a day that would never come and has been a long time coming. Since the first episode of this last season found Sam and…