pushflow.net Open in urlscan Pro
2606:4700:3038::6815:eacc  Public Scan

URL: https://pushflow.net/docs/en/sdk/
Submission: On October 27 via manual from AU — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Menu
Docs
In English
 * Documentation
 * Blog

По-русски
 * Документация
 * Блог

Contact supportBack to Pushflow app


Docs
 * In English
   * Documentation
   * Blog
 * По-русски
   * Документация
   * Блог
 * Contact support
 * Back to Pushflow app

Menu
 * Quick start
 * Collecting subscriptions
   * Creating and setting up the feed
   * Collecting push subscriptions
   * Configuring JS script
   * Push subscription carousel
   * Useful tips and scripts
   * Pricing table
 * Integrations
   * Setting up the tracker, postback, macros
   * Integration with Binom


CONFIGURING JS SCRIPT


SCRIPT INITIALIZATION#

If you are confident enough with Javascript, you can initialize the Push flow
API yourself. Otherwise, use the script constructor on the Feeds page.

PUSHFLOW.INIT() OPTIONS:#

Copy
var pushflowSettings = {
failedUrl: "https://failedurl.com",
allowUrl: "https://allowUrl.com",
denyUrls: ["denyUrls.com", "1.denyUrls.com", "2.denyUrls.com"],
vapidPublic: "vapidpublic",
feedId: "1",
subscribeOnPageLoad: false,
subscribeOnPageLoadDelay: 2000,
isDebug: false,
onSuccessCallback: function() {},
onFailedCallback: function() {},
onDeniedCallback: function() {},
workerPath: "/sw-pushflownet.js",
clickid: "123456",
t1: "123456",
t2: "123456",
t3: "123456",
t4: "123456",
t5: "123456",
widgets: {
isShowRobot: false,
isShowDialog: false,
dialogOptions: {
position: 'top-center',
isLockBackground: false,
delay: 300,
title: "We'd like to show you notifications for the latest updates",
text: "",
subscribeButton: "Allow",
cancelButton: "Cancel",
icon: "https://yourdomain.com/icon.png",
},
isLockBackground: false,
lockBackgroundOptions: {
isShowText: true,
text: ""
},
isShowNotification: false,
showNotificationOptions: {
title: "Success"
},
isShowBubble: false,
bubbleOptions: {
text: "New Message Request",
icon: "https://yourdomain.com/icon.png",
delay: 500
}
}
};
Previous
« Collecting push subscriptions
Next
Push subscription carousel »
 * Script initialization

Copyright © 2021 Pushflow.