Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tatvic

    (@tatvic)

    Hi @themassapothecary,

    We tried to identify the root cause of the error and concluded that it is not occurring due to the plugin rather it is happening due to the inline JS minify enabled on the store pages.

    To give you more context: The inline JS minify does not let the plugin get the required value in the adsTringId variable and which is why the error occurs.

    Just to mention, the error will not break data trackings in Google Analytics, GA4, etc.

    Currently, we are identifying possible & effective solutions to manage the error via our plugin.

    Workaround: You can get rid of the error by disabling the inline JS minification on the store pages.

    Hope the workaround helps.

    Thanks & Regards,
    Tatvic Analytics.`

    Thread Starter Derek Wilcox

    (@themassapothecary)

    @tatvic I use WP Rocket. What would I have to add to exclude Enhanced e-Commerce JS from being minified?

    Thread Starter Derek Wilcox

    (@themassapothecary)

    @tatvic ??????????????????????????????????

    Plugin Author Tatvic

    (@tatvic)

    Hi Derek,

    Thanks for posting and following up. Apologies for missing out on this.

    Please add below 2 lines of code under the Delay JavaScript execution -> Scripts to delay in WP-rocket to address the problem:

    /gtag/js
    gtag(

    Here is the screenshot for your reference.

    Hope the above helps. Thanks for your kind cooperation.

    Regards,
    Tatvic Analytics.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.