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

  1. In the Marketing menu, click Analytics.
    sf9_01configanalytics
  2. Click “Configure Analytics.”
  3. You should see a screen titled, “Authenticate to Google API,” asking you for a Client ID and a Client Secret number.sf9_02authenticate
  4. 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.
  5. From here, you’ll click “Create a Project.”
    createaproject
  6. Name the project and click Create.
  7. Once the new project appears in the API Console, you’re presented with a list of APIs. We want the “Analytics API.”
    analyticsapi
  8. You’ll see an “Enable” button. Click to enable the Analytics API.
  9. You’ll see a warning message like this.
    gotocred
  10. Click the “Go to Credentials” button.
  11. “Add Credentials to a Project” window. You want to click the “Client ID” link instead of choosing an option.
    addcred_clientid
  12. You’ll see a message saying you must first set a product name on the Consent Screen.
  13. Click the button.
  14. On the OAuth Consent Screen, enter a product name (e.g., “Your Website’s Analytics”), and your website’s URL. Click Save.
    consentscreen
  15. Now that we have a product name in place, we create a Client ID.
    createclientid
  16. Select “Web Application” from the list. Enter a Name in the field below. (You can reuse the product name from before.)
  17. In this window, under AUTHORIZED JAVASCRIPT ORIGINS, enter your website’s URL (http://YourWebsite.com).
  18. Under AUTHORIZED REDIRECT URIS, enter this URL – http://YourWebsite.com/Sitefinity/marketing/Analytics
  19. Click Create.
  20. A window will popup with your Client ID number, and a Secret ID number. Copy both of these.
    clientid_clientsecret
  21. Return to Sitefinity.
  22. 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:http://www.domain.com/Sitefinity/marketing/Analytics
    http://domain.com/Sitefinity/marketing/Analytics

    That way both are authorized in Google.)

  23. You’ll see an authorization screen like the below image. Click Allow.
    sf9_03accessgoogle
  24. 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.
    sf9_04analyticsacct
  25. 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.
    sf9_05trackingcode
  26. Click Save, and voila! Access to Google Analytics within your CMS!
    sf9_06analyticsdashboard

 

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!

How to Connect to Google Analytics in Sitefinity 9
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *