How to install widgets
via Google Tag Manager

How to install widgets 
via Google Tag Manager

Google Tag Manager is a tag management system that makes adding HTML/JavaScript snippets to your website easier. We have created a dedicated GTM tag that will help you start using Getsitecontrol on your site without editing code.

This tag will link your site to Getsitecontrol and allow you to create and edit widgets in the Getsitecontrol dashboard with the results being applied in real time. The tag needs to be added only once.

Here’s how to install Getsitecontrol on a website via Google Tag Manager:

1. Add a new tag

Open Google Tag Manager, click to add a New Tag.

Google Tag Manager control panel with the highlighted New Tag section

In the Tag Configuration section click the Discover more tag types in the Community Template Gallery link.

Choosing the tag type in the Tag configuration section

Scroll down or use the search field to find Getsitecontrol on the list.

Tag configuration section with the highlighted Getsitecontrol menu item

On the next step, click the Add to workplace button and confirm adding the tag.

Adding Getsitecontrol tag to workplace

Google Tag Manager confirmation modal window

2. Connect to Getsitecontrol

To connect your site to Getsitecontrol, you need to specify your site ID when adding the tag. You can find your site ID in your Getsitecontrol dashboard. Here’s how to proceed: log in and click Install code at the top of the page.

Getsitecontrol dashboard with the highlighted Install code link

You'll see the following piece of code. In our example, glw1ml is the site ID:

Modal window with a piece of Getsitecontrol code

Copy it and paste in the Site ID field.

Site ID section highlighted in the Tag configuration section

In the Triggering section, choose to fire the tag on All Pages.

Triggering section with the highlighted All Pages trigger

After choosing a name for your tag click the Save button. Then click the Submit button and choose Publish on the next screen to publish the changes.

Google Tag Manager control panel with the highlighted Submit button

Google Tag Manager control panel with the highlighted Publish button

That's it! Getsitecontrol script has been added to your site and you can now create and edit widgets from your Getsitecontrol dashboard.