First off, I’d like to announce the all-new PlanetMagpie.com!
Completely redesigned from the ground up in Sitefinity 9. Built mobile-first with fresh content and a neat Personas engine right on the homepage. It lets you select what content you want to see, right away. Please hop over there and give it a spin. There’s a neat pop-out Contact form if you have feedback to give.
Now, let’s get to today’s post.
One of Sitefinity’s foundational Digital Marketing tools is its Google Analytics connector. Once you connect Sitefinity to your Google Analytics account, you can view analytics data about your website within its own CMS. Saves you a step–you can see how well the website’s doing without going anywhere.
The only hitch is, you have to connect the two first. And that’s a bit of a process.
These are instructions for connecting Google Analytics to Sitefinity: Register the Analytics Module – Sitefinity Help
They are a little out of date – Google has changed a few of the steps – but they’re still mostly correct. However, in the interest of clarity (and since we just did this with our new website), I wanted to document the process I used.
Connecting Sitefinity to Google Analytics, Step-by-Step
- In the Marketing menu, click Analytics.
- Click “Configure Analytics.”
- You should see a screen titled, “Authenticate to Google API,” asking you for a Client ID and a Client Secret number.
- In order to get these two numbers, you must authenticate the Sitefinity CMS within Google’s Analytics API. Click the link that says “Google API Console” to open the console in a new browser window.
- From here, you’ll click “Create a Project.”
- Name the project and click Create.
- Once the new project appears in the API Console, you’re presented with a list of APIs. We want the “Analytics API.”
- You’ll see an “Enable” button. Click to enable the Analytics API.
- You’ll see a warning message like this.
- Click the “Go to Credentials” button.
- “Add Credentials to a Project” window. You want to click the “Client ID” link instead of choosing an option.
- You’ll see a message saying you must first set a product name on the Consent Screen.
- Click the button.
- On the OAuth Consent Screen, enter a product name (e.g., “Your Website’s Analytics”), and your website’s URL. Click Save.
- Now that we have a product name in place, we create a Client ID.
- Select “Web Application” from the list. Enter a Name in the field below. (You can reuse the product name from before.)
- Under AUTHORIZED REDIRECT URIS, enter this URL: http://YourWebsite.com/Sitefinity/marketing/Analytics
- Click Create.
- A window will popup with your Client ID number, and a Secret ID number. Copy both of these.
- Return to Sitefinity.
- Paste in these ID numbers in the Authenticate box. Click Login to Google.
(Important Note: If you experience an error here, go back to “Authorized Redirect URIs” and enter the non-WWW version of your website’s domain name. Like this:
That way both are authorized in Google.)
- You’ll see an authorization screen like the below image. Click Allow.
- Select the Google Analytics account you want to view in Sitefinity, and the domain (the same domain for the site you’re on). Click Save Settings.
- Next you’ll see a screen with your Google Analytics tracking code. Paste in the tracking code (if you haven’t already done so) on all pages you want to track.
- Click Save, and voila! Access to Google Analytics within your CMS!
If you need more details, check out last year’s post:
How to Connect Your Sitefinity Website to Google Analytics
Why Connect the Two? Search Data and Marketing Value, That’s Why
Why connect Sitefinity to Google Analytics? If you have your website tracked in Analytics, you can just go there to get all the statistics & reports you want. Isn’t this unnecessary?
You don’t HAVE to connect the two. Your site won’t break without this. But it does gain a few boosts, as does your digital marketing productivity.
I see three areas (at least) where accessing Google Analytics within Sitefinity helps out:
Time-saver. As I said earlier, it saves the time of logging into Google Analytics and looking up your site’s account. We manage analytics data for a bunch of customers; it takes a while to dig through all that data!
Site Search. Analytics includes a dashboard under the Content section titled, “Site Search.” Does your site have internal search? (It should.) If so, Sitefinity can track it. From there you can learn what kinds of search terms are popular, how well search is working, and so on. Valuable information.
Helps the DEC. The Digital Experience Cloud provides you with customer activity data and marketing tools. Hmmm, what would help these tools do their job better…how about analytics data?
That’s why I consider connecting Google Analytics up with Sitefinity a useful undertaking.
Would you like to see more “Sitefinity Connectors” posts? Please comment or email your ideas if so. I do have some reader requests for email marketing and marketing automation software. But more is always welcome!