Follow the steps below to add the Mention Me referee tag to your UpCart integration.
Within your Shopify store, search for the UpCart app and access its homepage.
UpCart App homepage In the App, navigate to the Cart Editor.
UpCart Cart Editor screen Scroll down to the Settings section on the left-hand side. Under the Custom HTML dropdown, choose Above Checkout Button. This placement is where the Mention Me script will be inserted.
Settings > Custom HTML dropdown in UpCart Paste the following Mention Me integration code into the content area.
Important: Replace
{PARTNERCODE}and{LocaleCode}with your actual values.<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Mention Me Integration</title> </head> <body> <!-- Mention Me referee placeholder --> <div id="mmWrapper"></div> <!-- Mention Me referee integration script --> <script src="https://tag.mention-me.com/api/v2/refereefind/{PARTNERCODE}?situation=sidecart&locale={LocaleCode}" type="text/javascript"> </script> <!-- Adjust z-index for mmWrapper --> <script> document.addEventListener("DOMContentLoaded", function() { var mmWrapper = document.getElementById('mmWrapper'); if (mmWrapper) { mmWrapper.style.position = 'relative'; mmWrapper.style.zIndex = '9999'; } }); </script> </body> </html>- Scroll back to the top of the UpCart editor and click Save.