Articles on: On Site Displays

Add Header Embed On Shopify



For the header embed to work, make sure the rewards widget is added to your website (irrespective of whether the widget is shown or hidden).

Follow the below steps to add the header embed to your Shopify store.

1. Getting the code snippet on nector dashboard


Login to your nector dashboard.
Visit the Account Embed Page under On-Site Displays inside the Loyalty Program.
Switch to the Header Embed tab.
Scroll to the Code Snippet section.
Copy the code by clicking on the copy button. See below image for reference.




2. Adding the code snippet on shopify



Open your shopify admin dashboard
Go to Online Store under Sales Channels
Click on Edit Code for the current live theme. See the below image for reference.




The exact file to open and where to place the code snippet will change from theme to theme. The below steps are assumed for Dawn theme. If this doesn't work for you, please contact nector support via live chat on the dashboard or mail us at support@nector.io.

Search for header.liquid and open the file.
Paste the code snippet as shown in the image below.






Changing the description of the headed embed

Updated on: 28/03/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!