User guide

Your first steps in PushPushGo

Additional fields and updating selectors

Some of the selectors we have created need to be updated so that the information on subscriber behavior is consistent with the current state, like:

  • last visited category (name)
  • recently visited links
  • date of the last visit (does not require a selector)

To do this, you need an automation scenario.

The additional fields you created and their updates will be used in the automation scenarios. More on this topic in the Automation chapter. 

1. Go to the AUTOMATION > NEW AUTOMATION tab.

2. The scenario starts with naming and choosing the appropriate Trigger event. It will always be the end of the session, with the exception of the welcome message, when you select Start session.

3. Then click Next in the scenario tree. From the available behaviors, select Action> Update.

4. Click the Additional field> Add new button.

5. Here, specify the type of element to be downloaded from the page. It can be:  

  • text - when, for example, you want to refer to recent category names;
  • numerical value - to use, for example, when referring to the value of a cart;
  • date - when you want to update the date of the last visit;
  • value yes/no - when reference is made to an item clicked on the page.

Careful! The names of the additional fields should be exactly the same as the names of the selectors.

6. Save the additional field.

7. After closing the Creator Wizard window, update the additional field you created by clicking Edit. Then enter the name of your variable in curly brackets, like {{last_category}}


Careful! In the case of the last link visited, you must add a special parameter to make the link fall back properly. Otherwise, the notification will be posted twice https or https, which in turn will redirect your recipient to 404.

Example:

  • http -> {{link | replace('https://','') }}
  • https -> {{link| replace('http://','') }}  

8. For the Date of the last visit, it is enough to check the current data after clicking on Edit.

9. In contrast, for a Numeric Value, we must not only enter the name of its variable in brackets but also specify its Operator:

  • Variable - exactly as it was collected from the page
  • Fixed value - a constant value that always has to appear
  • Add (+) - the number entered will be added to the collected value
  • Subtract (-) - the number entered will be subtracted from the collected value

10. The last type concerns clicked items. All you have to do is check the checkbox here.

Test web push on your website

Always free up to 500 subscribers

Get started for free

The trial version includes all features

Our website is using cookies.
Close Read more