Locations
Use Multiple Locations at once
There are three main steps to adding multiple locations:
- Add a root location
- Add additional locations
- Bind elements containers to
locations
1
Add a root location
2
Add additional locations
Add additional locations on the page by using set location with the true
parameter:
3
Bind element containers to locations
-
When you render multiple elements representing different locations on the same page, then you can bind each element container to the correct
location
by adding thedata-velt-location-id
attribute. -
This ensures that the comment added within the location is associated with the correct location.
Was this page helpful?