SmartTags are the best way to create dynamic tags that work across multiple platforms and user app install states. SmartTags use Destinations to manage all of the different URLs a user can land on. Destination URLs are managed via the Apsalar UI, and can be edited without the need to modify the actual live SmartTag. If you come across specific use cases where you need to override a Destination's URL through the SmartTag itself, you can append a parameter named "murl" to your SmartTags and hardcode the destination URL.
Overriding a SmartTag destination URL
Once you have
created your SmartTag, follow the steps below if you need to override the destination URL directly via the SmartTag itself.
Note: this URL will be used for all users, regardless of their platform and install state - use this method only if absolutely necessary.
- URL-encode your Destination URL. For example the deeplink
apidmgr://forget_device
results in the encoded url apidmgr%3A%2F%2Fforget_device
- Append the following parameter to your SmartTag:
&murl=<encoded URL from step 2>
For example a SmartTag can be updated to send all users to the deeplink from step 2 above:
http://ad.apsalar.com/api/v1/ad?re=1&st=871332383153&h=71da783132999f0eee204c0d687365bf484c5d&murl=apidmgr%3A%2F%2Fforget_device