Do you want to empower your community with external services such as Google Analytics, Surveymonkey or Optimizely? Read on, because in this How To you’ll learn how to add these with the help of our Third-party Scripts feature.
How to add Third-party Scripts to your community
- Copy the code from a third-party that you want to add to the community.
- Administrators go to Control → Customization → Third-party Scripts.
- Paste the code in the area where you want to add the code: in the <head> after the opening <body> or before the closing </body>
- Hit Save changes, and you’re done. The script is now injected globally, in all pages of your community.
Examples
How to add Google Analytics to your community
- Log in to Google Analytics and go to Admin
- In the column Account select an account
- In the column Property go to Tracking Info → Tracking Code
- Copy the tracking code (gtag.js)
- Go to Control → Customization → Third-party Scripts
- Paste the code in the <HEAD>area
- Hit Save changes, and you’re done. Google Analytics is now added to your community.
How to add Google Tag Manager to your community
- Log in to Google Tag Manager and click on your Container Name
- Click on the GTM Tracking ID (GTM-123ABC)
- Copy the tracking codes (2 codes)
- Go to Control → Customization → Third-party Scripts
- Paste the code in the < HEAD> area and after < BODY> area
- Hit Save changes, and you’re done. Google Tag Manager is now added to your community.
Supported services
- Google Analytics
- Google Tag Manager
- Adobe Analytics
- Atlassian Statuspage
- Survey Monkey
- Optimizely
- Many more…
Note:
- We recommend to test adding third-party scripts to your staging environment first, before adding scripts to your production community.
- We recommend to add scripts before the closing tag. This way they will have the least impact on your community’s performance.
- We recommend inviting a professional web developer to help you add third-party scripts. Use any custom code at your own risk, and proceed with extreme caution — inSided support won’t be able to assist you with issues related to third-party scripts.