A website is configured with a project, which will provide the key to use when implementing the SDK, and allow website-based messaging channels to be configured.
Go to Settings > Apps & Sites and click Add Website. Enter a name which can be clearly understood when viewing analytics and device sources and the URL of your website.
You must add separate websites for each individual website you plan to integrate with this project.
Do not share keys between different sites. Push notification certificates are different for each site, and this also helps with analytics and campaign segmentation.
HTTP Origins are required to allow SDK interaction only from these whitelisted domains. Include the protocol, eg. https://example.com, and put different domains on separate lines.
Don't forget including icons for your website, which are required for the proper functioning of web related campaigns.
If the SDK will be deployed across multiple domains where you want a single user to be identified consistently as a single device, toggle on Share Client Cookies Across Domains and enter the relevant domain in the Cookie Domain box. This will set cookies against the selected domain, so that a single device identifier is used for SDK deployments on domains with access to the cookie.
Click Save to add the website details. Once that you do, the system will show an app key for the website you just added.
Now that you have the SDK key, you can add the SDK to your website to start sending device data to Xtremepush and make use of the messaging channels.
Updated 2 months ago
|Import the web SDK|
|Push notifications for Chrome and Firefox|
|Apple push notifications for Safari|