Issue: Invalid data-connect attribute
Upgrade your implementation
If you are being linked to this error in your browser console then you are using a legacy implementation.
Please consider upgrading to our latest implementation to ensure continued functionality of your embedded landing page alongside access to new features. Instructions on our latest implementation method can be found here.
Issue
This error will be shown when the data-connect
attribute provided to the <div id="stb-connect>
component is invalid. The data-connect
attribute should consist of letters, numbers, and hyphens,
followed by a /
, then followed by two further letters denoting the territory.
Solution
To rectify this error ensure you provide the landing page ID and territory code given to the <div>
as shown below:
<div
id="stb-connect"
data-connect="[LANDING_PAGE_ID]/[TERRITORY_CODE]"
></div>