Integration script

Integration script is a script placed in the website code and loaded asynchronously after entering the integrated page. It is responsible for downloading project configuration data from the PushPushGo server referring to:

  • Subscription Form - pop-up window displayed after entering the integrated page, asks for the user's consent to receive notifications,

  • Geolocation - pop-up window displayed after subscribing to notifications, asks for the user's permission to share his location, saves the location based on the GeoLocation API (W3C),

  • Google Analytics - sends events to the existing window.ga,

  • Data Layer - sends events to the existing DataLayer,

  • Color Tracking - if user is subscribed, captures the color from the element indicated in the selector,

  • Beacon - if user is subscribed, collects information based on selectors, session start date, session end date and visited url’s,

  • Default notification - notification displayed to subscriber if due to technical reasons it will not be possible do deliver push campaign,

  • Service Worker Path - service worker file path,

  • Fab Icon - a widget used to give consent/ remove consent to receive notifications.

These integration elements can be enabled or configured in the Project settings in the PushPushGo application.

Beacon & Default notification cannot be disabled.

Last updated