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

    (@tatvic)

    Hi @peraburek,

    Thank you for sharing the suggestions to include an option to load locally hosted scripts.

    We will consider this feature to be included in the road map of the next major release.

    Just FYI, our plugin uses GA tracking method gtag.js so currently you could load the analytics script using 3rd party plugin or manually but it should be gtag.js

    Hope this helps.

    Regards,
    Tatvic Analytics.

    Thread Starter peraburek

    (@peraburek)

    Hello @tatvic

    thank you for your reply! I appreciate it ??

    If I would use CAOS | Host Google Analytics Locally plugin
    I think “Enhanced Ecommerce Tracking Code” wouldn’t work, because even gtag.js can run locally, there is no ec.js running
    https://www.google-analytics.com/plugins/ua/ec.js

    therefore I am thinking if we could add support for localy hosted ec.js that would help reduce external DNS lookups

    Thank you,
    Regards,
    Peter

    Hi @peraburek,

    Just chiming in here ??

    CAOS does support locally hosting ec.js in the premium upgrade: Super Stealth Upgrade ?? which can be purchased here.

    @tatvic,

    We’ve been in touch about a year ago about a compatibility mode between CAOS and your plugin, but I’ve never heard back from you. I sent the needed code changes to you: it’s basically applying a filter around the analytics.js and/or gtag.js URL. It’d still be a really cool feature to offer to your users. ??

    Edit: I looked into your code again, all that’d be needed to make CAOS compatible with this plugin is the following change in the function: \Enhanced_Ecommerce_Google_Analytics_Public::ee_settings(): https://imgur.com/a/fI2aETF
    Since apply_filters() is used on a string, it doesn’t have any other implications with your current implementation.

    Plugin Author Conversios

    (@tatvic)

    Hi @daanvandenbergh,

    Thank you very much for your efforts and inputs here ??

    We are considering the suggested changes for the compatibility with the CAOS plugin in the next release.

    Regards,
    Tatvic Analytics.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘host Google java-scripts locally for faster loading’ is closed to new replies.