Configuring shareUrl
- Print
Configuring shareUrl
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
Designate the URL to be used for the share button. The shareUrl parameter with string value to be used when initializing through the cloud.shoplive.init()
.
Passing shareURL to init() as a parameter
When you set EXAMPLE.com as shareUrl, the actual URL to be shared would be
EXAMPLE.com/ck={CAMPAIGN_KEY}
.You can use parse
ck
parameter on shared page to directly play a designated campaign using thecloud.shoplive.setPlayer()
orcloud.shoplive.showFeaturedPlayerModal()
.