• Resolved jesperh95

    (@jesperh95)


    Hi,

    Thanks for a great plugin!

    I hope you can help with an issue I have regarding that I want to start using multiple tracking codes. I want to do this because I have installed WPML and now have several translations on different domains, but with the same “back-end”. Therefore I want to split up, so that I have one tracking code for each translation/domain.

    Therefore I want to ask whether it is possible to do some customization of the source code, so that if I am on a specific domain, a specific tracking code is used? Maybe this is possible through a simple “if-else” php code somewhere in the plugin?
    Example: If language = Swedish, show swedish tracking code etc.
    Or is it more complicated than this or even possible at all?

    I hope you understand the issue and have the possibility to help ??

    Best Regards,
    Jesper

Viewing 1 replies (of 1 total)
  • Hi @jesperh95,

    Therefore I want to ask whether it is possible to do some customization of the source code, so that if I am on a specific domain, a specific tracking code is used? Maybe this is possible through a simple “if-else” php code somewhere in the plugin?

    It is always possible to customize the plugin, for this I would inquire to WPML if you have not already to see if they have a set file for customizations of Google Analytics. If they do not you can reach out to a developer for assistance. Developers certified by WooCommerce can be reached at this link.

    Good luck and have a super day!

Viewing 1 replies (of 1 total)
  • The topic ‘Set up multiple tracking codes’ is closed to new replies.