You’ve set up a new website in Sitefinity. Pages are finished, content is in place. Ready for the Web.

Did you remember your analytics?

Sitefinity has an Analytics module built into it. This module allows you to connect that new site to an analytics solution, and collect data on what your users are looking at.

All of our Web Development customers receive Google Analytics integrated into their new Sitefinity website. It’s free, tracks huge amounts of user data, and produces detailed reports to help your marketing.

How do you set Google Analytics up in Sitefinity? It’s very easy. Here’s the how-to.

How to Connect a Website to Google Analytics, Step by Step

*IMPORTANT! These steps can only be followed after you have created Page Templates within Sitefinity CMS. Make those first.

  1. First, register for Google Analytics if you haven’t done so already. Click this link for instructions:
    Google Analytics – Register/Sign In
  2. Enter your site’s profile. Click the “Admin” tab.
  3. Click “Tracking Info” under the Property column (in the center).
    GAinsert1
  4. Click “Tracking Code”. You’ll see a new window with a block of code labeled “This is your tracking code.”
  5. Copy the entire code block. Save this in a text file if you want, but it’s not necessary. You’ll be pasting it into Sitefinity shortly.
  6. In another browser tab/window, log into Sitefinity’s Administration Dashboard.
  7. Click Design > Page Templates.
  8. Click on the first page template you’ll use on the website, to open it in Sitefinity Editor.
  9. Locate a content block near the bottom of the page. It does not have to be empty.
  10. In the Widgets menu on the right-hand side, click “Scripts and Styles” to open its menu.
  11. You should see a “Google Analytics” option.
    GAinsert2
  12. Click and drag “Google Analytics” into the block you’ve selected.
  13. You’ll see a line that says, “Set Google Analytics” in the new content block. Click it.
  14. A new window will open.
  15. Paste the Google Analytics tracking code into the new window.
    GAinsert3
  16. Click Save.
  17. Click the Publish button to save the template changes.
  18. Repeat these steps for any additional Page Templates you plan to use for your site.

Want to Add Another Analytics Engine to Sitefinity?

“What if I don’t want to use Google Analytics? I prefer Clicky/Piwik/etc.”

That’s fine. Most of the same steps still apply.

Since many other analytics solutions use JavaScript for their tracking scripts, the process to add them into Sitefinity is the same. With one alteration.

  1. Instead of using the “Google Analytics” option under “Scripts and Styles” in Step 10 above – you’ll use the “Java Script” option instead.
  2. Then, when you open the window to Set Java Script, click the “Write JavaScript” line at the top of the window.
  3. You’ll see a box where you can paste in the Analytics tracking script.
    GAinsert4
  4. You’ll also see three options under “Where to Include in HTML?” below it: In the Head Tag, Where the Widget is Dropped, and Before the Closing Body Tag.
    • Any of these options should work fine. Choose according to your site’s current design.
  5. Don’t forget to hit Publish when you’re done!

Google Analytics is Up and Running! Now What?

Sitefinity will now send its visitor data to Google Analytics (or the other analytics solution you prefer using).

*Important Note: This method works whether or not the Analytics module is activated in Sitefinity.

If the Analytics module IS active (You’ll see “Analytics” under the Marketing dropdown menu), please read Sitefinity’s documentation for assistance with it: Set Up Analytics – Telerik Sitefinity Documentation

Not sure how to make good use of Google Analytics data? These tutorials will help:
Get Started with Analytics – Google Analytics Help
50 Resources for Getting the Most Out of Google Analytics – KISSMetrics Blog

What kind of visitor data would you most like to gather from your audience? Length of time on the site? Which pages they read? Please comment or email with your thoughts. Both Google Analytics and Sitefinity can help you collect and make use of visitor data.

How to Connect Your Sitefinity Website to Google Analytics
Tagged on:                     

Leave a Reply

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