Overview
You can display a Google Map on your landing page using an embed code. This helps you show a location clearly to your audience.
Before You Start
Make sure you have:
Access to your landing page in Knak
A location selected in Google Maps
Add a Google Map to Your Landing Page
Step 1: Add a Custom HTML Block
Open your landing page in the editor
Drag a Custom HTML content block into your layout
Step 2: Get the Google Maps Embed Code
Open Google Maps
Search for your desired location
Click Share
Step 3: Copy the Embed Code
Click the Embed a map tab
Click Copy HTML
Step 4: Paste the Code into Knak
Return to your landing page in Knak
Paste the embed code into the Custom HTML block
Optimize Map Display (Recommended)
Update the Map Width
Google Maps sets a default width of 600px. This may not fit your layout.
Locate the
widthattribute in the embed codeChange the value to
100%
Example:
width="100%"
This helps the map scale to your landing page width.
Need more help? Contact support via live chat within Knak using the chat bubble in the bottom right corner or email support@knak.com





