GA4 Script Affecting Shopify Reports

Posted by: Alicia Barnard Date Posted: June 21, 2023
Back to Case Studies

Issue

GA4 script was pulling through to Shopify’s “Additional Details” section of the transaction report – https://webpagefx.mangoapps.com/msc/MTI1MTMwN18xMTgyNjYwNg.

This was affecting their sales process as these additional notes were being printed on their customers’ receipts.

 

Solution

We first thought that it might be the GA4 Shopify transaction tracking App that was causing the problem. After uninstalling the app, though, it became clear that this was not what was causing the issue.

We then found a script in the website’s source code that matched the script that was pulling through to the Shopify Additional Details section – https://webpagefx.mangoapps.com/msc/MTI1MjQxMF8xMTgzMDczOQ.

After some investigation from the interactive dev team, it was found that this script was coming from a SlideRule Analytics GA4 implementation script. SlideRule was contacted to remove this script from the transaction notes.

This solved the issue and the GA4 Shopify app was reinstalled to continue tracking transactions in GA4.

Achievement

We were able to remove the GA4 script from the client’s product reports in Shopify and continue tracking transactions and website interactions in GA4.

Snippet/Screenshot/Link

Here’s the to-do with all information on the issues and how they were resolved – https://app.webfx.com/todos/259016778