Memorial Pages Portal
This is how you can embed our portal into your own website:
-
Include script:
- Production: https://embed.adstate.com/portal.js
- Testing: https://sandbox.embed.adstate.com/portal.js
- Development: https://dev.embed.adstate.com/portal.js
-
Put the following tag in your page:
<adstate-portal company="minnesider"></adstate-portal>
Note that there are multiple available attributes:
-
- Name:
company
- Type:
string
- Default: none
- Description: ASCII name of your company (slug)
- Name:
-
- Name:
useCookiePopUp
- Type:
boolean
- Default:
true
-
Description: Whether or not to use the cookie pop-up. If you choose
false
, all cookies and scripts are loaded and we asume you handle user consent.
- Name:
-
- Name:
displayLanguageSwitcher
- Type:
boolean
- Default:
true
- Description: Whether or not to show the language switcher.
- Name:
-
- Name:
displayMenu
- Type:
boolean
- Default:
true
- Description: Whether or not to show the menu.
- Name:
-
- Name:
displayLogo
- Type:
boolean
- Default:
true
- Description: Whether or not to show the logo.
- Name:
-
- Name:
displayBanner
- Type:
boolean
- Default:
true
- Description: Whether or not to show the banner.
- Name:
-
For example like this:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Our website</title> </head> <body> <nav> <img src="logo.jpg" alt=""> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> </ul> </nav> <main> <adstate-portal company="minnesider" useCookiePopUp="true" displayLanguageSwitcher="true" displayMenu="true" displayLogo="true" displayBanner="true" ></adstate-portal> </main> <footer> <p>Page footer © Copyright 2021</p> </footer> <script src="https://embed.adstate.com/portal.js"></script> </body> </html>