Google Analytics Extension


With the Cosmic JS Extension functionally, anyone can embed their own custom app inside the Cosmic Dashboard!

In this article I will show you how to configure and use this Google Analytics Extension to view Google Analytics insights directly in your Cosmic JS Bucket Dashboard. 

TL;DR

Go to the Google Analytics Extension page
View the full codebase on GitHub
Install the Extension in your Bucket in Your Bucket  > Extensions > Browse Extensions
View the Extension documentation for more information on building an Extension

The Extension we're building

We're integrating a simple Extension that allows you to view your Google Analytics data in your Cosmic JS Bucket. All you need to do is login with your Google Account and add your VIEW_ID.

Usage

  1. Go to your google analytics dashboard. Select the project which you want to use. Go to the admin settings > View Settings and copy the view ID.


  2. Click on the Analytics menu on the left nav in your cosmic dashboard. Authorize using your google account.


  3. Enter the View ID you copied above and submit.


  4. You will see your Analytics here :)

Was this article helpful?

Thank you! Your input helps us improve our articles and resources. If you have any other questions or comments, please contact support.

You may also like


In basically one Saturday, I was able to move from a confining WordPress instance for my blog to a blazing fast new blog fueled by Cosmic JS. This flexibility is going to enable me to improve my blog how I want to, serve my content how I want to, design my workflow how I want to.
When you're laser focused on writing songs, getting the most out of your studio time, and finding gigs, you can't be bothered with setting up a static site for your band or dealing with abstruse CMS systems.
Todo List app built using Svelte that utilizes the power of Cosmic JS.
Video: Build a Cosmic JS-powered blog using Gatsby
In this video, Cosmic JS co-founder Tony Spiro takes you on a tour of the new Cosmic CLI which allows you to do all of the awesome things you can with the Cosmic JS API, from the comfort of your command line interface.
An Object in Cosmic JS can be a page, a blog post, an author or anything you want it to be. Cosmic JS gives you the freedom to create and manage content openly and create your own data structure. Each Object allows for the creation of a title, slug, content and Metafields.