Shopify themes, liquid, logos, and UX
I am not the original developer for this Shopify site I am working on. I was told to make some edits to a Pinterest page. When I click on the Pinterest app in Shopify, I see this error.
Pinterest tag
Delete Pinterest Tag
A Pinterest Tag was manually added to your account. Remove the code for the existing Pinterest tag, then refresh this page to create a new one.
The Pinterest tag is a piece of code that’s automatically installed to your website to track conversions and measure campaign performance. To use this tag, you must comply with Pinterest’s Advertising Guidelines, the Pinterest Ad Data Terms and applicable laws.
I followed the instructions on this page to remove the "manually added" tag from my Shopify theme code, https://help.pinterest.com/en/business/article/link-your-shopify-and-pinterest-accounts.
For example, remove base code from theme.liquid (and I searched all other files in my entire codebase).
<script type="text/javascript">
!function(e){if(!window.pintrk){window.pintrk=function()
{window.pintrk.queue.push(Array.prototype.slice.call(arguments))};var
n=window.pintrk;n.queue=[],n.version="3.0";var
t=document.createElement("script");t.async=!0,t.src=e;var
r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r)}}
("https://s.pinimg.com/ct/core.js");
pintrk('load','YOUR_TAG_ID', { em: '{{ customer.email }}', });
pintrk('page');
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt=""
src="https://ct.pinterest.com/v3/?tid=YOUR_TAG_ID&noscript=1" />
</noscript>
I am not seeing this code anywhere when I do a text search in the entire codebase. When I do a search for "pintrk," nothing shows up. I do not know how to remove any of this stuff because I cannot find the code that is supposedly in my app which is causing this delete Pinterest tag issue.
I do not find the Checkout code example either, nor the AddToCart. If I cannot find the string, "pinkrk," which exists in all three examples of the code I am supposed to remove, then is it safe to assume none of this code exists in my Shopify site's codebase? If that is true, then what is causing this delete Pinterest tag issue?
Thanks for any help.
Did you find a solution to this ? I have the same problem now going on 3 yrs. No one from Shopify or Pinterest are much help.
Make sure to also delete code from your checkout settings 'order status page' box
Go to Settings and then click the checkout tab in.
Scroll down a little and then you will see "Order Status Page"
remove any codes related to the tags from there and you are good to go.
User | RANK |
---|---|
186 | |
170 | |
80 | |
55 | |
45 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023