Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi Andre,

    I’m happy you’re enjoying CAOS πŸ™‚

    Since you’re using the compatibility mode, CAOS only adds the locally hosted file and WooCommerce Integration is respsonsible for rendering the tracking code.

    But that’s good news! πŸ™‚ I’m very familiar with WooCommerce GA Integration’s code and adding a custom parameter is definitely possible, but you’d need a custom plugin to add this.

    As this is outside the scope of CAOS’ support, I can built this for you, but not free (as I hope you’ll understand). You can read more about my service for building custom integrations for CAOS: https://woosh.dev/wordpress-services/caos-expert-configuration/

    Thread Starter andrecostainf

    (@andrecostainf)

    Hey Daan!

    Thanks for your answer !

    I will check on that and think about it!

    πŸ™‚

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Sure! If you have any other questions, do not hesitate to ask πŸ™‚

    Thread Starter andrecostainf

    (@andrecostainf)

    Thanks again Daan,
    i’ve tried to use this filter caos_analytics_ga_create_config to add the siteSpeedSampleRate attribute, but you are right( sure πŸ™‚ ). Who is adding that information is the Woocommerce Analytics plugin.

    So, I’ve opened a ticket there as there is no filter to add that information. Tried to use the set_domain_name to add that property, but it has a esc_js, so, got a problem with quote scaping πŸ™‚

    Thread Starter andrecostainf

    (@andrecostainf)

    Could do it using the filter woocommerce_ga_snippet_create πŸ™‚

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Awesome! Happy you managed to resolve it!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add sampleRate to analytics’ is closed to new replies.