Support > Installation Guides > How do I install Store Locator Widgets on Google Tag Manager

How do I install Store Locator Widgets on Google Tag Manager

1. Click here to get your embed code, highlight it and copy it to your clipboard.

2. Next, create a new tag of type 'Custom HTML' called 'Store Locator' (or whatever you prefer). Paste the embed code you copied above and then copy and paste the following line to the bottom of the code:

<script>document.getElementById('storelocatorwidget').parentElement.removeAttribute('style')</script>

<script type="text/javascript">// </script>

3. Check the box which says 'Support document.write' before saving the new tag:

 

You'll want to use a firing trigger of type 'Page View'.

4. Finally, publish the tag to your website and your store locator should be displayed.