This manual doesn’t explain how to add Google Tag Manager on your website or how to apply its functionality for other than installing Gravitec.net script on your website.

If you’re not familiar with registering in Google Tag Manager or haven’t had a chance to use it, please, read the documentation provided by Google. You may start to explore it from this link: https://support.google.com/tagmanager/answer/6102821?hl=en

Add the Gravitec.net script to your website

Create Tag

  1. Create a “Custom HTML<>” tag by pressing New button
  2. Give name to a tag
  3. Click on the “Tag configuration” area
  4. Locate and select “Custom HTML” option
  5. Copy from site settings in push.gravitec.net a script string
  6. Paste script string to a Custom HTML window

Create a trigger

In order to execute your Tag you have to create a trigger, which triggers created tag

  1.  Click on Triggering area
  2. If you’ve got a list of tags on this page you should select All Pages
  3. If you haven’t got a list of triggers, click on Plus button in the top right corner
  4. Give a name to a new trigger
  5. Click on triggering area
  6. Chose “Window Loaded” from the list of “Trigger type”
  7. Save the trigger
  8. Save the tag

Submit the tag

  1. Next, you should submit created tag

Upload files in root directory

The last step is to upload files push-worker.js and manifest.json into the root directory of your website.

Download SDK files

  1. Locate and download zip archive with the files for your site
  2. Extract files from the archive

Upload files to your site’s root directory

You could skip further instructions if you’re familiar with this procedure.

The following manual will be referring to FileZilla software which is OpenSource file manager. You may download and install it or you could use your own software.

1) Copy files to your web site root directory: