- Open your Socital dashboard, go to Data Collect, click on Installation Instructions
- Copy your Socital script
- Go to Google Tag Manager > New tag > Custom HTML Tag
- Paste the script into the HTML field
- Add async=true parameter in the script
- Choose to fire the tag on All Pages
- Create tag > Save > Publish
In order to make Socital Plugins visible on your website, you need to add the Socital script into the code of your site. This needs to be done only once. If you are using Google Tag Manager you can use it to add the Socital script into your website.
Open the Google Tag Manager, click to add a New Tag, then click on “Tag Configuration” and choose “Custom HTML” from the list of the available tag types.
Log in to your Socital account, click on “Installation Instructions” at the left-hand menu. Copy your Socital script.
Go back to Google Tag Manager and paste the script into the HTML field.
You need to add the parameter async=true within the script.
After you add the Socital script on the HTML editor, click on the checkbox to enable the “Support.document.write” option underneath the editor.
Click on “Triggering” and choose to fire the tag on All Pages.
Name your tag and click “Save”.
Preview and then publish the changes as you usually do when making any changes in the Google Tag Manager.
The Socital script has now been added to your website, making your active Socital Plugins visible to your visitors.