I'm setting a custom url in the "additional data" tab but for some reason the push notification is opening up the URL I entered for the URL template. How do I set a custom URL for each push notification?

asked 14 Feb '14, 20:02
Adam%20Soffer's gravatar image

Adam Soffer

Please note that in order to send a URL with your notification to Safari you should use placeholders and the URL template. The URL in "Additional data" tab is meant for mobile applications.

URL templates and placeholders work the following way: for instance, your website is http://example.org, and you publish articles with the following URL: http://example.org/pageIDxx. Then, you should specify the following URL template in your Safari settings: http://example.org/pageID%@. When you send a push about the new article, all you need to do is send the page ID number as an argument, which goes after "pageID". You can do it in the Safari settings of push delivery (below "Title" and "Action button label").

permanent link
answered 18 Feb '14, 07:25
Dmitry%20%20Dyudeev's gravatar image

Dmitry Dyudeev

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Feb '14, 20:02

question was seen: 1,733 times

last updated: 18 Feb '14, 07:25