How to install the Perto Digital widget using Google Tag Manager?

Using Google Tag Manager, you can centrally add the Perto Digital widget to all pages of your site.

Step 1:

Access Google Tag Manager Go to the Google Tag Manager site and log in with your Google account. If you don’t have an account, create one following the instructions on the site.

Step 2:

Create a Container Within Google Tag Manager, select an existing account or create a new one. Create a new container specific to your site.

Step 3:

Configure a New Tag Navigate to the "Tags" section and click "New Tag". Provide a descriptive name for the tag, such as "Perto Digital Plugin", and select "Tag Configuration".

Step 4:

Select the Tag Type In the "Tag Configuration" section, choose "Custom HTML" as the tag type.

Step 5:

Embed the Code in GTM Copy the Perto Digital script code and paste it into the Custom HTML tag text box.

Step 6:

Configure the Trigger Create an appropriate trigger, such as "Dom Ready" or "All Elements of the DOM are Ready". Add the created trigger to the configured tag.

Step 7:

Save and Publish Save the changes and publish the updated container. Ensure you review all settings before publishing.

Step 8:

Add the GTM Container to the Page Insert the Google Tag Manager container code into the <head></head> section of your site.