Tags help segment your subscriber base by custom attributes such as specific behavior and action.

By using tags, you can create subscriber groups to send them relevant content and offers separately.

How do tags work? Here is a general picture for understanding.

  1. A visitor subscribes to push notifications on a website.
  2. You can assign any number of tags to the visitor while he is on your website.
  3. When you create a push campaign, you can choose single or multiple tags to send notifications to subscribers with these assigned tags.

ℹ️ Examples of data that can be stored in tags are gender, age group, categories of products of interest, customer status, promotions, items in the cart, etc.

⚠ Example 1 Save as a tag the information about the subscriber’s gender: male, or female.

Send campaigns about men's products to men and women's products to women.

âš  Example 2 For the courier company's website, when a subscriber enters a TTN number on the website, assign it as a tag. If the status of the parcel changes (moving between logistics hubs, ready for delivery, etc.), send a notification using the tag. After the status of the parcel has changed to "Received", the tag can be automatically deleted.

âš  Example 3 Save as a tag the information about the page which has been visited by a subscriber.

Assign a “category_%category_name%” tag to such subscribers. Send the new content of this page category to subscribers with the category’s tag.

⚠ Example 4 Assign a tag “high_price” to all subscribers who add to a cart or purchase a product from the premium segment. Send campaigns to these subscribers offering products of the premium category.

Tags are assigned by adding JavaScript code to the HTML markup of the page.

The code is <script>Gravitec.push(["addTag", "Tag"]);</script>.

Instead of “Tag” add the tag name that you want to assign to a subscriber.

Here are some examples.