Personalized checkout and custom promotions with Shopify Scripts
Hello,
Where do I add the code from Lucky Orange in the dawn theme so I can track shoppers on my site?
It says to paste just before the closing </head> tag but I have no idea how to ge there.
Thank you so much, appreciate it!
In your code files, go to Layout - Theme.liquid.
Then do a search for the </head> tag and paste your code right before that tag.
Were you able to find it?
Hello @andy188, just wanted to check back in and see if you still needed any help. Thanks!
HI,
Yes thank you, it helped but now I have /<head> on my live website in at the top left corner.
Can you paste the link to your website? Thanks.
Can you take a screenshot of your theme.liquid. file where you pasted the code? Thanks.
I reversed the code for now but here is what it looked like. I probably did not paste it right.
Can you take a screenshot of where you pasted the code?
I posted it above. Did you want me to take a screenshot of something else?
I don't see the lucky code snippet in the screenshot. What does the code look like?
If you want to send it to me discreetly so I can see it, follow the steps in my signature. Thanks.
In your Shopify admin, go to "Online Store" and select "Themes."
Locate the Dawn theme and click on the "Actions" dropdown menu.
Choose "Edit code" from the options provided.
In the code editor, under the Layout folder, locate the "theme.liquid" file, which represents the main template for your theme.
Open the "theme.liquid" file and scroll down until you find the closing </head>
tag, which marks the end of the HTML head section.
Just before the closing </head>
tag, paste the code provided by Lucky Orange.
Make sure to publish the changes by clicking on the "Save" button.
Hope this helps!
Thank you!
I have on little problem now, on my live website you can see at the top of the website /<head>.
I did something wrong probably. Please help me fix this, thank you so much.
The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024