How to add Stackly to Google Tag Manager

Copy Stackly script below.

<script>(function(){var e=document.getElementById("stackly_external_js");e||((e=document.createElement("script")).src="","stackly_external_js",document.getElementsByTagName("head")[0].appendChild(e))})();</script>
  1. Go to Google Tag Manager > New tag > Custom HTML Tag

  2. Paste the script into the HTML field

  3. Choose All Pages for Triggering

  4. Create tag > Save

  5. Publish changes

Step 1

Open Google Tag Manager, click to add a New Tag and then choose to create a Custom HTML.

How to add GTM, p1.gif

Step 2

Paste Stackly’s script into the HTML field.

Screen Shot 2019-06-28 at 3.38.47 PM.png

Step 3

Go to Triggering and select All Pages.

how to add GMT; p2.gif

Step 4

After choosing a name for your tag click the Save button.

Ho to add GTM; p3.gif

Step 5

Now publish your changes by clicking Submit then Publish!

How to- submit change to GTM.gif

Now, Stackly will be installed using your Google Tag Manager account!