? How to set push-notifications on the website with ? Google Tag Manager ?

Creating a GTM tag

Login in GTM and click on the element "Add new tag"

To make it easier to control your code we recommend you to name every new tag with a name that you'll remember.

Name a new tag, for example, push.world

Then click on the big field "Tag configuration" and chose type "User HTML"

If you are still not registered in push.world, then do this —

With your first login into settings master, you will need to set up everything that needed for the first set up.

On the third step you'll find out that code, that you need to paste in Google Tag Manager. Copy this code to clipboard.

Copy paste code into "Tag configuration" and in the advanced settings chose "With no restrictions".

Create a trigger in GTM

For the correct code work of triggers, this is required in the Google Tag Manager. If you don't use special triggers for Java-script codes work, then in the "Tag configuration" click on the "Triggers" and then add this to "All pages" — it allows to show subscription on all pages without exceptions.

Go back on the next screen, make sure that everything was made right and click "Save"

Сustomized tag with code push.world added and ready for publication on the pages of your resource. You only have to press red button "Post" and filled up the form (about changes you've made)

We recommend putting there something like "Publication of the Push.World service code (Push notifications)"