Articles on: Miscellaneous
This article is also available in:

Disable old connections from your Lightspeed shop

When you switch to Server-Side Tagging with your Lightspeed shop, you have placed a tagging pixel on your site via three different scripts that you add in Web Extras. The instructions below on the screenshot should look familiar to you:



Disconnect Google Analytics & Meta Ads



Within your Lightspeed backend, go to your settings

Open the Web Statistics



Here you can see if you still have an old/third-party connection present by checking for checkmarks.

Connections no longer present

Connections still present

To disable these connections, click on the relevant platform and disable this connection.

Check custom scripts



Within your Lightspeed backend, go to your settings

Open the Web Extras



Check here under ‘CUSTOM JS’, ‘TRACKING’ & ‘CUSTOM HEAD CODE’ whether there are any scripts from marketing or analytics platforms that will send duplicate events in addition to your server-side tagging setup. Below we give some examples of scripts that could cause problems.

Be careful not to delete your tagging pixel codes

Examples of scripts that cause problems:


Translated with DeepL.com (free version)

Google Tag Manager

<!-- Google Tag Manager -->

<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXXX');</script>
<!-- End Google Tag Manager -->

<!-- Google Tag Manager (noscript) -->

<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->


Meta Ads

<!-- Facebook Pixel Code -->
<script>
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', '{your-pixel-id-goes-here}');
  fbq('track', 'PageView');
</script>
<noscript>
  <img height="1" width="1" style="display:none" 
       src="https://www.facebook.com/tr?id={your-pixel-id-goes-here}&ev=PageView&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->



Google Ads

<script>
      gtag('event', 'conversion', {'send_to': 'AW-CONVERSION_ID/CONVERSION_LABEL',
        'value': 1.0,
        'currency': 'USD'
      });
 </script>


Translated with DeepL.com (free version)

Updated on: 24/09/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!