How to add link auto-preview popups to Google Tag Manager?

Prerequisite: Sign-up to, add your website & get code snippet
You can load script via Google Tag Manager or any other similar tag manager tools.

Create a free Google Tag Manager (GTM) account or use your existing one
During GTM account creation, for Container Setup select "Web" if you are adding on a website or** "iOS"/"Android"** if you are installing in a mobile app
Create a new tag in Google Tag Manager - "Custom HTML".

Create a new tag

Select "Custom HTML" type

Via this tag type you can insert code snippet.

Copy-paste code snippet here

Set a trigger to "All Page Views"

Set trigger to "All Page Views"

Add Google Tag Manager Code to your website or insert GTM id (stars with GTM-*****) into your website builder.
Was this article helpful?
Thank you!